* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
	justify-content: center;
}

.logo {
    font-size: 3rem;
    color: #3498db;
    background: white;
    padding: 20px;
    border-radius: 50%;
}

h1 {
    font-size: 2.5rem;
    /* margin-bottom: 10px; */
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: #2c3e50;
    border-bottom: 1px solid #34495e;
}

.tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: #ecf0f1;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    background: #34495e;
}

.tab.active {
    background: #3498db;
    border-bottom-color: #2980b9;
}

.tab i {
    margin-right: 8px;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.instructions h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.step-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.alert {
    padding: 10px 15px 10px 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.gpa-scale {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 5px;
    margin: 25px 0;
}

.grade-point {
    background: #eaf8ff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    /** padding: 15px;    **/
    text-align: center;
    transition: transform 0.2s ease;
}

.grade-point:hover {
    transform: translateY(-2px);
    border-color: #3498db;
}

.grade {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
}

.points {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input, select {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

th {
    background: #34495e;
    color: white;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
	justify-content: center;   
    align-items: center;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
	background: #c8e9ff;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-pdf {
    background: #137de5;
    color: white;
}

.result-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
}

.result-value {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 20px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #3498db;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #7f8c8d;
    border-top: 1px solid #e9ecef;
}

.system-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.system-header {
    background: #34495e;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.conversion-table {
    width: 100%;
    background: #f8f9fa;
}

.conversion-table th {
    background: #2c3e50;
}

.conversion-table tr:nth-child(even) {
    background: #e9ecef;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
        justify-content: center;
    }
    
    .gpa-scale {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Transcript Styles */
.transcript-section {
    margin-top: 40px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.transcript-category {
    margin-bottom: 30px;
}

.transcript-category h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.transcript-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.transcript-table th {
    background: #34495e;
    color: white;
    padding: 12px;
    font-weight: 600;
    text-align: left;
}

.transcript-table td {
    padding: 7px;
    border-bottom: 1px solid #e9ecef;
}

.transcript-table tr:nth-child(even) {
    background: #f8f9fa;
}

.transcript-table tr:hover {
    background: #e3f2fd;
}

.gpa-summary {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.gpa-summary h5 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Table responsive styles */
@media (max-width: 768px) {
    .transcript-table {
        font-size: 0.8rem;
    }
    
    .transcript-table th,
    .transcript-table td {
        padding: 8px 4px;
    }
    
    #coursesTable {
        display: block;
        overflow-x: auto;
    }
}

/* Course input table styles */
#coursesTable {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#coursesTable th {
    background: #2c3e50;
    color: white;
    padding: 12px 8px;
    font-weight: 600;
}

#coursesTable td {
    padding: 5px 8px 5px 8px;
}

#coursesTable input,
#coursesTable select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.course-points {
    font-weight: bold;
    color: #27ae60;
    text-align: center;
}


/* Add these styles for better button appearance */
/* Improve button styling for better UX */
.btn-info {
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 6px 10px;
    margin: 2px 0;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-info:hover {
    background: #138496;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-info:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Make the button more prominent in the table */
#coursesTable .btn-info {
    font-weight: 600;
    border: 1px solid #10707f;
}

/* Add tooltip style for better user guidance */
.same-school::after {
    content: "Copy school info from previous course";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.same-school:hover::after {
    opacity: 1;
}

.same-school{
	padding: 1px 8px important;
    margin-bottom: 2px !important;
}
}