﻿/* GENEL ALAN */
.ay-bayi-container {
    width: 100%;
    padding: 50px 20px;
    background-image: url('/umaydin/image/background_03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* FORM KARTI */
.ay-bayi-card {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 50px;
    background-color: #fff;
    border-radius: 25px;
    box-sizing: border-box;
}

/* BAŞLIK */
.ay-bayi-title {
    color: #dc3545;
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* FORM SATIRI */
.ay-bayi-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* FORM SÜTUNLARI */
.ay-bayi-col {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.ay-bayi-col-full {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* FORM ELEMANLARI */
.ay-bayi-input {
    display: block;
    width: 100%;
    height: 35px;
    padding: 10px 14px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

    .ay-bayi-input:focus,
    .ay-bayi-textarea:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, .12);
    }

/* MESAJ ALANI */
.ay-bayi-textarea {
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 10px 14px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}

/* GÖNDER BUTONU */
.ay-bayi-button {
    display: inline-block;
    width: 100px;
    padding: 8px 20px;
    color: #fff;
    background-color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .2s, border-color .2s;
}

    .ay-bayi-button:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
    }

/* BİLGİ MESAJI */
.ay-bayi-mesaj {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    min-width: 300px;
    max-width: calc(100% - 40px);
    padding: 18px 20px;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
    animation: ay-bayi-mesaj-goster 5s forwards;
}

@keyframes ay-bayi-mesaj-goster {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    10%, 80% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(30px);
        visibility: hidden;
    }
}


/* SONUÇ ALANI */
.ay-bayi-sonuc {
    text-align: center;
}

    .ay-bayi-sonuc h5 {
        color: #555;
        line-height: 1.7;
        font-weight: 400;
    }

/* MOBİL */
@media (max-width: 768px) {

    .ay-bayi-container {
        padding: 20px 12px;
    }

    .ay-bayi-card {
        margin: 15px auto;
        padding: 25px 18px;
        border-radius: 15px;
    }

    .ay-bayi-title {
        font-size: 22px;
    }

    .ay-bayi-col {
        width: 100%;
    }

    .ay-bayi-button {
        width: 100%;
    }

    .ay-bayi-mesaj {
        left: 15px;
        right: 15px;
        min-width: auto;
    }
}
