/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

.site-content{
    display: contents;
}
.student-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: #eef7ef;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.student-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.student-watermark img {
    width: 700px;
    max-width: 90%;
    opacity: 1;
    
}

.student-card {
    max-width: 1100px;
    margin: auto;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid #2d6a3f;
    padding: 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.student-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #2d6a3f;
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.student-title h1 {
    margin: 0;
    font-size: 34px;
    color: #123c22;
    text-transform: uppercase;
}

.student-title p {
    margin: 6px 0 0;
    color: #345c40;
    font-weight: 700;
}

.download-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.download-btn {
    background: #166534;
    color: #fff;
    margin-top: 24px;
}
.download-btn:hover {
    background: rgb(7, 15, 5);
    color: #828288;
}

.student-profile-row {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.profile-box {
    width: 180px;
    height: 210px;
    border: 2px solid #2d6a3f;
    overflow: hidden;
    background: #f3f4f6;
}

.profile-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    border: 1px solid #b7cbbd;
    padding: 12px 14px;
    background: rgba(245, 252, 247, 0.9);
}

.info-item span {
    display: block;
    font-size: 12px;
    color: #386144;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.info-item strong {
    font-size: 16px;
    color: #111827;
}

.result-box {
    border: 2px solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    background: #fff;
}

.result-box span {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.result-box strong {
    font-size: 34px;
    font-weight: 900;
}

.result-pass-box {
    border-color: #16a34a;
    color: #16a34a;
}

.result-fail-box {
    border-color: #dc2626;
    color: #dc2626;
}

.marks-section h2 {
    background: #123c22;
    color: #fff;
    padding: 14px;
    margin: 0;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
}

.marks-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.marks-table th,
.marks-table td {
    border: 1px solid #9ab5a1;
    padding: 12px;
    text-align: center;
}

.marks-table th {
    background: #e7f3e9;
    color: #123c22;
    text-transform: uppercase;
    font-size: 14px;
}

.marks-table td:first-child {
    text-align: left;
    font-weight: 700;
}

.status-pass {
    color: #16a34a;
    font-weight: 900;
}

.status-fail {
    color: #dc2626;
    font-weight: 900;
}

.note-box {
    margin-top: 20px;
    padding: 18px;
    border: 2px solid #2d6a3f;
    background: #f1f8f2;
    color: #123c22;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
}
.logout-floating-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc2626;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.logout-floating-btn:hover {
    color: #fff;
    background: #b91c1c;
}

.student-login-body{
    margin:0;
    background:#eef3f8;
    font-family:Arial,sans-serif;
}

.student-login-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
    padding:60px 20px;
}

.student-login-brand{
    text-align:center;
    max-width:450px;
}

.student-login-brand img{
    width:220px;
    margin-bottom:20px;
}

.student-login-brand h1{
    color:#0d2c6c;
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.student-login-brand p{
    font-size:18px;
    color:#4b5563;
}

.student-login-card{
    width:100%;
    max-width:450px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    border-top:6px solid #0d2c6c;
}

.student-login-card h2{
    text-align:center;
    margin-bottom:10px;
    color:#0d2c6c;
}

.login-subtitle{
    text-align:center;
    color:#6b7280;
    margin-bottom:25px;
}

.registration-note{
    margin-top:25px;
    padding:15px;
    background:#f4f7fb;
    border-left:4px solid #0d2c6c;
    font-size:14px;
    line-height:1.6;
}

.login-footer {
    background: #f8fafc;
    color: #0d2c6c;
    padding: 28px 20px 18px;
    border-top: 1px solid #dbe3ef;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.login-footer h4 {
    margin: 0 0 8px;
    color: #0d2c6c;
    font-size: 17px;
}

.login-footer p {
    margin: 4px 0;
    color: #475569;
    font-size: 14px;
}

.copyright {
    max-width: 1100px;
    margin: 18px auto 0;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    text-align: left;
}
.login-field input {
    width: 100%;
    box-sizing: border-box;
    margin:10px 0 5px 0 ;
}

.student-login-btn {
    width: 100%;
}
.login-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 600;
    text-align: left;
}

@media(max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        text-align: center;
    }
}

@media(max-width:768px){

    .student-login-brand h1{
        font-size:28px;
    }

    .student-login-brand img{
        width:150px;
    }

    .student-login-card{
        padding:25px;
    }
}

@media(max-width: 900px) {
    .student-profile-row {
        grid-template-columns: 1fr;
    }

    .profile-box {
        width: 180px;
        height: 210px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .student-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-watermark {
        font-size: 38px;
    }
}