/* clientlogin.html - özel giriş ekranı stilleri */
html, body {
            height: 100%;
            height: 100dvh;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            overflow-y: auto;
            background: #f8f9fa;
        }

        body.client-portal-body {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* Sabit Header */
        .portal-header {
            position: relative;
            z-index: 10;
            background: transparent;
            flex-shrink: 0;
        }

        /* Ortalanmış Form Alanı */
        .kozhukuk-login-section {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 15px;
            width: 100%;
            box-sizing: border-box;
        }

        .login-box {
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            padding: 30px 35px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.06);
            max-width: 440px;
            width: 100%;
            box-sizing: border-box;
        }

        .login-header {
            text-align: center;
            margin-bottom: 20px;
        }

        .login-header .portal-logo {
            max-width: 180px;
            width: 100%;
            height: auto;
            margin-bottom: 12px;
            display: inline-block;
        }

        .login-header h2 {
            margin: 0 0 5px;
            font-size: 21px;
            line-height: 1.2;
            font-weight: 600;
            color: #222;
        }

        .login-header p {
            margin: 0;
            color: #777;
            font-size: 13px;
        }

        .login-box .form-group {
            margin-bottom: 15px;
        }

        .login-box .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }

        .login-input-group {
            position: relative;
            width: 100%;
        }

        .login-input-group .input-icon-left {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 14px;
            pointer-events: none;
            z-index: 2;
        }

        .password-toggle-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: #888;
            font-size: 14px;
            cursor: pointer;
            padding: 6px 8px;
            z-index: 3;
            outline: none;
            transition: color .2s ease;
        }

        .password-toggle-btn:hover,
        .password-toggle-btn:focus {
            color: #b1976b;
            outline: none;
        }

        .login-box .form-control-mod {
            width: 100%;
            box-sizing: border-box;
            height: 44px;
            border: 1px solid #ddd;
            background: #fff;
            padding: 0 40px 0 38px;
            font-size: 13.5px;
            color: #333;
            border-radius: 4px;
            outline: none;
            transition: all .25s ease;
        }

        .login-box .form-control-mod:focus {
            border-color: #b1976b;
            box-shadow: 0 0 0 2px rgba(177, 151, 107, 0.15);
        }

        .login-forgot-link {
            text-align: right;
            margin-bottom: 16px;
        }

        .login-forgot-link a {
            color: #777;
            font-size: 12px;
            text-decoration: none;
            transition: color .2s ease;
        }

        .login-forgot-link a:hover {
            color: #b1976b;
        }

        .login-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
            width: 100%;
        }

        .login-submit-btn {
            width: 100%;
            height: 44px;
            background: #b1976b;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 13.5px;
            font-weight: 600;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all .3s ease;
        }

        .login-submit-btn:hover {
            background: #9d845b;
            color: #fff;
        }

        .btn-back-home {
            width: 100%;
            height: 42px;
            background: #fff;
            color: #555;
            border: 1px solid #dcdcdc;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            text-decoration: none;
            transition: all .25s ease;
        }

        .btn-back-home:hover {
            border-color: #b1976b;
            color: #b1976b;
            background: #fafafa;
            text-decoration: none;
        }

        .login-footer-notice {
            margin-top: 16px;
            padding: 10px 12px;
            background: #fafafa;
            border: 1px solid #eee;
            border-radius: 4px;
            font-size: 11.5px;
            line-height: 1.4;
            color: #777;
            text-align: center;
        }

        .login-footer-notice i {
            color: #b1976b;
            margin-right: 5px;
        }

        .whatsapp-support {
            position: fixed;
            left: 15px;
            bottom: 15px;
            height: 42px;
            padding: 0 14px 0 10px;
            background: #25D366;
            color: #fff;
            border-radius: 25px;
            display: flex;
            align-items: center;
            gap: 7px;
            text-decoration: none;
            z-index: 99998;
            box-shadow: 0 3px 12px rgba(0,0,0,0.25);
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .whatsapp-support:hover {
            color: #fff;
            transform: scale(1.04);
        }

        /* MOBİL SIKIŞTIRMA VE SIFIR SCROLL DÜZENLEMELERİ */
        @media (max-width: 575px) {
            .portal-header .menu-area {
                padding: 10px 0;
            }

            .login-box {
                padding: 20px 16px;
                border-radius: 6px;
            }

            .login-header {
                margin-bottom: 15px;
            }

            .login-header .portal-logo {
                max-width: 145px;
                margin-bottom: 10px;
            }

            .login-header h2 {
                font-size: 18px;
            }

            .login-header p {
                font-size: 12px;
            }

            .login-box .form-group {
                margin-bottom: 12px;
            }

            .login-box .form-control-mod {
                height: 40px;
                font-size: 13px;
            }

            .login-forgot-link {
                margin-bottom: 12px;
            }

            .login-submit-btn {
                height: 40px;
                font-size: 13px;
            }

            .btn-back-home {
                height: 38px;
                font-size: 12.5px;
            }

            .login-footer-notice {
                margin-top: 12px;
                padding: 8px 10px;
                font-size: 11px;
            }

            .whatsapp-support {
                left: 10px;
                bottom: 10px;
                height: 36px;
                padding: 0 10px 0 8px;
                font-size: 12px;
            }
        }

/* ============================================================
   GİRİŞ MESAJI (hata / başarı bildirimi)
   Boşken görünmez; içine metin yazılınca belirir.
   ============================================================ */
.login-message {
    display: none;
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fbfbfb;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.login-message.is-visible {
    display: block;
}

/* Hata durumu */
.login-message.is-error {
    background: #fdf2f2;
    border-color: #f2c4c4;
    color: #c0392b;
}

/* Başarı durumu */
.login-message.is-success {
    background: #f1f9f2;
    border-color: #c6e5cb;
    color: #2e7d32;
}

.login-message i {
    margin-right: 5px;
}

@media (max-width: 575px) {
    .login-message {
        margin-top: 14px;
        padding: 8px 10px;
        font-size: 11px;
    }
}
