﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft JhengHei", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #f0f4f8;
    padding: 40px 20px;
}

.container-card {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 30, 60, 0.08);
    overflow: hidden;
}

.card-header {
    padding: 28px 32px;
    border-bottom: 1px solid #e4e7ec;
    text-align: center;
}

.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.logo-placeholder {
    /*width:80px;
            height:80px;*/
}

.uni-title h1 {
    font-size: 22px;
    color: #002b5c;
    font-weight: 600;
}

.uni-title p {
    font-size: 14px;
    color: #444;
    margin-top: 4px;
}

.academic-year {
    font-size: 18px;
    color: #4d90cd;
   /* font-weight: 500;*/
   font-weight:bold;
    margin-top: 18px;
}

.card-body {
    padding: 32px;
}

.form-intro {
    font-size: 16px;
    color: #222;
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.label-main {
    font-size: 16px;
    color: #111;
    font-weight: 500;
}

.label-en {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.required-mark {
    color: #991b1b;
}

input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    font-size: 16px;
    background: #fcfcfd;
}

    input[type="text"]:focus {
        outline: none;
        border-color: #003b7a;
        box-shadow: 0 0 0 3px rgba(0,59,122,0.12);
    }

input.error {
    border-color: #991b1b;
}

.hint-text {
    font-size: 13px;
    color: #667085;
    margin-top: 6px;
}

.error-msg {
    font-size: 13px;
    color: #991b1b;
    margin-top: 4px;
    display: none;
}

.submit-wrap {
    text-align: center;
    margin: 30px 0 24px;
}

.btn-submit {
    padding: 12px 36px;
    background-color: #4d90cd;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-submit:hover {
        background-color: #001d40;
    }

    .btn-submit:disabled {
        background-color: #546b88;
        cursor: not-allowed;
    }

.link-forgot {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #003b7a;
    text-decoration: none;
}

    .link-forgot:hover {
        text-decoration: underline;
    }

.card-footer {
    padding: 24px 32px;
    background: #f8fafc;
    border-top: 1px solid #e4e7ec;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.footer-links a {
    color: #003b7a;
    text-decoration: none;
}

    .footer-links a:hover {
        text-decoration: underline;
    }

@media (max-width:520px) {
    .card-header, .card-body, .card-footer {
        padding: 20px 18px;
    }

    .logo-row {
        flex-direction: column;
    }

    .logo-placeholder {
        width: 100%;
    }
}