* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Nastaliq Urdu', 'Segoe UI', sans-serif;
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    /* Tailor-themed background: deep green gradient + measuring-tape / stitch pattern */
    background-color: #052e16;
    background-image:
        linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(4, 30, 20, 0.94)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 14px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='2'%3E%3Ccircle cx='30' cy='30' r='14'/%3E%3Cpath d='M30 16v28M16 30h28'/%3E%3Cpath d='M90 20 L120 50 M120 20 L90 50'/%3E%3Cpath d='M105 35 q10 20 -5 35' stroke-dasharray='4 5'/%3E%3Cpath d='M20 100 q30 -15 60 0 q30 15 50 0' stroke-dasharray='3 6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 40px 40px, 280px 280px;
    background-position: center, center, center;
    background-repeat: no-repeat, repeat, repeat;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(160deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    padding: 40px 32px;
    text-align: center;
}

.login-logo .logo-icon {
    font-size: 40px;
    display: inline-block;
    margin-bottom: 8px;
}

.login-logo .logo-icon-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 8px;
    border: 2px solid #bbf7d0;
}

.login-logo h1 {
    font-size: 24px;
    color: #14532d;
    margin-bottom: 4px;
}

.subtitle {
    color: #4d7c62;
    font-size: 15px;
    margin-bottom: 24px;
}

.login-form {
    text-align: right;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    color: #166534;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #bbf7d0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    text-align: right;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #15803d;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

.btn-login {
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    background: linear-gradient(135deg, #16a34a, #14532d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-login:hover {
    opacity: 0.92;
}

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

.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}

.hint {
    margin-top: 18px;
    font-size: 12px;
    color: #9ca3af;
}
