﻿.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

/* İçerik kutusu */
.popup-content {
    position: relative;
    background: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: scale(0.8);
    opacity: 0;
    animation: popupOpen 0.4s ease forwards;
}

/* Kapatma butonu */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

    .popup-close:hover {
        color: #000;
    }

/* Form elemanları */
.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid #ddd;
        outline: none;
        transition: all 0.2s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #5a67d8;
            box-shadow: 0 0 6px rgba(90,103,216,0.4);
        }

/* Gönder butonu */
.popup-submit {
    background: linear-gradient(135deg, #5a67d8, #805ad5);
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .popup-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

/* Animasyonlar */
@keyframes fadeIn {
    from {
        background: rgba(0,0,0,0);
    }

    to {
        background: rgba(0,0,0,0.6);
    }
}

@keyframes popupOpen {
    to {
        transform: scale(1);
        opacity: 1;
    }
}
