/* GENEL AUTH STİLLERİ */
.auth-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2; /* Ana Renk */
}

.auth-container .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

.switch-auth {
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.switch-auth a {
    color: #4A90E2; /* Ana Renk */
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.switch-auth a:hover {
    text-decoration: underline;
}

/* YENİ: HATA MODAL STİLLERİ */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.error-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.error-modal-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    text-align: center;
    width: 90%;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.error-modal-overlay.active .error-modal-box {
    transform: scale(1);
}

.error-modal-box .modal-icon {
    font-size: 48px;
    color: #e74c3c; /* Kırmızı Hata Rengi */
    margin-bottom: 20px;
}

.error-modal-box h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.error-modal-box p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.error-modal-box .modal-close-btn {
    background-color: #4A90E2; /* Ana Renk */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.error-modal-box .modal-close-btn:hover {
    background-color: #357ABD; /* Koyu Ana Renk */
}
