:root {
    --primary-color: #04508a;
    --secondary-color: #00a0e3;
    --accent-color: #ff6b35;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.auth-header {
    background: var(--light-color);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    height: 250px;
    width: auto;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: steelblue;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: slategray;
}

.auth-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 160, 227, 0.2);
    background-color: white;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.form-col {
    padding: 0 0.75rem;
    flex: 1 0 0;
    min-width: 250px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #03406e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 80, 138, 0.3);
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-container input {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
}

.checkbox-label {
    font-size: 0.9rem;
}

.kvkk-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.kvkk-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.signature {
    height: 60px;
    opacity: 0.8;
    margin-top: 1rem;
}

.is-invalid {
    border-color: var(--error-color) !important;
}

.invalid-feedback {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.password-strength {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    background: #ddd;
    transition: var(--transition);
}


@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        border-radius: 0;
    }

    .form-col {
        min-width: 100%;
        margin-bottom: 1rem;
    }
}

.kvkk-modal .modal-dialog {
    max-width: 800px;
}

.kvkk-modal .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.kvkk-modal .modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: none;
}

.kvkk-modal .modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 2rem;
}

.kvkk-modal .modal-footer {
    border-top: none;
    background: #f8f9fa;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.kvkk-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.page-wrapper {
    background-image: repeating-linear-gradient(45deg, rgba(4, 80, 138, 0.08) 0px, rgba(4, 80, 138, 0.08) 2px, transparent 2px, transparent 4px), linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255)) !important;

}
