/* Base and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #E2E4E8;
    /* Light gray background */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container & Layout */
.main-container {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 900px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 550px;
}

/* Left Side - Dark Theme */
.card-left {
    flex: 1;
    background-color: #0b2b26;
    /* Dark Teal */
    color: #FFFFFF;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
}

.logo {
    margin-bottom: 0px;
}

.divider {
    width: 180px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #ecede8;
}

.contact-info {
    font-size: 10px;
    line-height: 2;
    color: #E0E0E0;
    font-family: 'Inter', sans-serif;
}

.website-link {
    color: #E0E0E0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
}

.main-website-btn {
    display: inline-block;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 2px;
    margin-top: 15px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #A0B2B2;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* Right Side - Light Theme Form */
.card-right {
    flex: 1.2;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.form-header {
    background-color: #0b2b26;
    color: #ecede8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #4A5568;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #1A3634;
    box-shadow: 0 0 0 3px rgba(26, 54, 52, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: #0b2b26;
    color: #ecede8;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #132A28;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Result Display Area */
.result-display {
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
    background-color: #F3F4F6;
    border: 1px solid #E5E7EB;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

.result-display.hidden {
    display: none;
}

.result-display.error {
    background-color: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
}

.result-item {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #D1D5DB;
    padding-bottom: 8px;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: #4B5563;
}

.result-value {
    color: #111827;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subjects List specific styles */
.subjects-container {
    flex-direction: column;
    align-items: flex-start;
}

.subjects-list {
    width: 100%;
    margin-top: 5px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    overflow: hidden;
}

.subject-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #E5E7EB;
}

.subject-row:last-child {
    border-bottom: none;
}

.subject-name {
    color: #4B5563;
    font-weight: 500;
}

.subject-status {
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 10px;
}

.status-pass {
    background-color: transparent;
    color: #03543F;
}

.status-fail {
    background-color: transparent;
    color: #9B1C1C;
}

.status-unknown {
    background-color: #F3F4F6;
    color: #4B5563;
}

/* Footer text */
.footer-text {
    margin-top: 30px;
    font-size: 12px;
    color: #88929C;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .card-left {
        padding: 40px 20px;
    }

    .branding-content {
        margin-top: 0px;
        /* Reduce extra top space on mobile */
    }

    .social-links {
        margin-top: 25px;
        /* Pushes the icons a line space down */
    }

    .card-right {
        padding: 40px 20px;
    }
}