/* style4.css - shared styling for the Jain KBC exam system pages */

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(180deg, #fdf3e7 0%, #f7e6d4 100%);
    min-height: 100vh;
    margin: 0;
    padding-top: 70px;
    color: #333;
}

.page-wrap {
    max-width: 420px;
    margin: 60px auto;
    background: #fffefb;
    border: 1px solid #eee0d6;
    border-radius: 14px;
    padding: 34px 30px;
    box-shadow: 0 8px 28px rgba(120,60,20,0.12);
}

h1, .page-wrap h1 {
    color: #7a1414;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 6px;
}

.subtitle {
    text-align: center;
    color: #8a7460;
    font-size: 13px;
    margin-bottom: 22px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #7a1414;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 11px 13px;
    margin-bottom: 16px;
    border: 2px solid #e2d6cb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: #d8a24a;
}

.page-wrap button, .btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #8a1c1c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.page-wrap button:hover, .btn:hover {
    background: #6e1616;
}

.btn-secondary {
    background: #fff;
    color: #7a1414;
    border: 2px solid #e2d6cb;
}

.btn-secondary:hover {
    background: #fff3e9;
    border-color: #d8a24a;
}

.link-row {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

.link-row a {
    color: #8a1c1c;
    font-weight: 600;
    text-decoration: none;
}

.link-row a:hover {
    text-decoration: underline;
}

.message-box {
    text-align: center;
    padding: 20px;
}

.message-box h2 {
    color: #7a1414;
}

.message-box.success {
    color: #2e6b2e;
}

.message-box.error {
    color: #8a1c1c;
}

/* Dashboard-specific */
.dash-header {
    text-align: center;
    margin-bottom: 20px;
}

.dash-header h2 {
    color: #7a1414;
    margin-bottom: 4px;
}

.level-card {
    background: #fffefb;
    border: 1px solid #eee0d6;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(120,60,20,0.06);
}

.level-card h3 {
    color: #7a1414;
    margin: 0 0 10px;
    font-size: 17px;
}

.level-card .done {
    color: #2e6b2e;
    font-size: 14px;
    line-height: 1.6;
}

.level-card .soon {
    color: #aaa;
    font-style: italic;
}
