/* Rutgers GPA Calculator Styles */

/* Reset and base styles to prevent theme conflicts */
.rgpac-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
}

.rgpac-calculator-title {
    text-align: center;
    margin-bottom: 20px;
    color: #cc0033; /* Rutgers Scarlet */
    font-size: 24px;
    font-weight: 600;
}

/* Course input styles */
.rgpac-course-inputs {
    margin-bottom: 20px;
}

.rgpac-course-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.rgpac-course-name {
    flex: 2;
    min-width: 150px;
}

.rgpac-course-credits,
.rgpac-course-grade {
    flex: 1;
    min-width: 100px;
}

.rgpac-course-name,
.rgpac-course-credits,
.rgpac-course-grade {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.rgpac-remove-course {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Button styles */
.rgpac-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.rgpac-button {
    background-color: #000000; /* Black as specified */
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.rgpac-button:hover {
    background-color: #333333;
}

#rgpac-reset {
    background-color: #666666;
}

#rgpac-reset:hover {
    background-color: #888888;
}

/* Results styles */
.rgpac-results {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.rgpac-results h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.rgpac-gpa-display {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0;
    color: #cc0033; /* Rutgers Scarlet */
}

.rgpac-total-credits {
    font-size: 16px;
    color: #666;
}

/* Responsive styles */
@media (max-width: 768px) {
    .rgpac-course-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .rgpac-course-name,
    .rgpac-course-credits,
    .rgpac-course-grade {
        width: 100%;
        min-width: auto;
    }
    
    .rgpac-buttons {
        flex-direction: column;
    }
    
    .rgpac-button {
        width: 100%;
    }
} 