﻿.remember-me,
.is-admin{
    margin-bottom: 18px;

}

body {
    font-family: 'Stack Sans Text', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3c3c3c;
    color: #343a40;
}

.form-container {
    background: #1c1c1c;
    max-width: 900px;
    margin: 30px auto;
    padding: 28px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(35, 50, 80, 0.08);
    border: 1px solid rgba(34,34,34,0.04);
}


    .form-container h2 {
        margin-top: 0;
        margin-bottom: 18px;
        font-size: 1.4rem;
        font-weight: 600;
        color: #a8c7fa;
    }


.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group-half {
    flex: 1;
    margin-bottom: 0;
}


.form-label, label[for] {
    font-size: 0.85rem;
    color: #e7e7e7;
}


.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    background: #ffffff;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease, transform .08s ease;
    box-shadow: none;
}

    .form-control:focus,
    textarea:focus,
    input:focus {
        border-color: #a8c7fa;
        box-shadow: 0 6px 18px rgba(79,70,229,0.08);
        transform: translateY(-1px);
    }

    textarea.form-control,
    textarea {
        min-height: 110px;
        resize: vertical;
    }

    .form-control::placeholder,
    input[type="text"]::placeholder,
    input[type="email"]::placeholder,
    input[type="password"]::placeholder,
    textarea::placeholder {
        color: #999999;
        opacity: 1;
    }


.text-danger, .field-validation-error {
    color: #e11d48;
    font-size: 0.75rem;
    margin-top: 6px;
}


.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #a8c7fa 0%, #7ba3f0 100%);
    color: black;
    border-radius: 5px;
    border: none;
}
    .btn-primary:hover {
        background: linear-gradient(135deg, #a8c7fa 0%, #7ba3f0 100%);
        color: black;
        transform: translateY(-1px);
    }


@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group-half {
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 18px;
        max-width: 100%;
    }

        .form-container h2 {
            font-size: 1.1rem;
        }
}

/* Loading Modal Styles */
.form-loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    pointer-events: all;
    user-select: none;
}

.form-loading-modal * {
    pointer-events: none;
}

.form-loading-modal-content {
    background: linear-gradient(135deg, #1c1c1c 0%, #282828 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(168, 199, 250, 0.2);
    overflow: hidden;
    position: relative;
}

.form-loading-spinner {
    margin-bottom: 24px;
}

.form-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 4px solid rgba(168, 199, 250, 0.2);
    border-top: 4px solid #a8c7fa;
    border-radius: 50%;
    animation: form-spin 1s linear infinite;
}

@keyframes form-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-loading-text h3 {
    color: #a8c7fa;
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.form-loading-text p {
    color: #e7e7e7;
    margin: 8px 0;
    font-size: 0.85rem;
}

.form-loading-detail {
    color: #7e7e7e;
    font-size: 0.75rem;
    margin-top: 16px;
    font-style: italic;
}

/* Bootstrap 5 Success Modal Styles */
#successModal .modal-content {
    background: linear-gradient(135deg, #1c1c1c 0%, #282828 100%);
    border: 1px solid rgba(168, 199, 250, 0.2);
    border-radius: 16px;
    color: #e7e7e7;
}

#successModal .modal-body {
    padding: 40px;
}

#successModal .modal-title {
    color: #a8c7fa;
    font-size: 1.3rem;
    font-weight: 600;
}

#successModal p {
    color: #e7e7e7;
    font-size: 0.9rem;
}

/* SVG Checkmark Animation */
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #a8c7fa;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: 0 0 0 rgba(168, 199, 250, 0.4);
    animation: form-scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #a8c7fa;
    fill: none;
    animation: form-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: form-stroke-check 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes form-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes form-stroke-check {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes form-scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

/* ========== AÇIK TEMA STİLLERİ ========== */
[data-theme="light"] body {
    background-color: #f5f5f5;
    color: #1c1c1c;
}

[data-theme="light"] .form-container {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-container h2 {
    color: #7da4f0;
}

[data-theme="light"] h2 {
    color: #1c1c1c;
}

[data-theme="light"] .form-label,
[data-theme="light"] label[for] {
    color: #1c1c1c;
}