﻿/* GENEL ALAN */
.ay-ik-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-ik-card {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 50px;
    background-color: #fff;
    border-radius: 25px;
    box-sizing: border-box;
}

/* BAŞLIK */
.ay-ik-title {
    color: #dc3545;
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* FORM SATIRI */
.ay-ik-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* FORM SÜTUNLARI */
.ay-ik-col {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.ay-ik-col-full {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* FORM ELEMANLARI */
.ay-ik-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-ik-input:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, .12);
    }

/* DOSYA SEÇİMİ */
.ay-ik-file {
    width: 100%;
    font-size: 14px;
    color: #555;
}

/* KVKK */
.ay-ik-kvkk {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

    .ay-ik-kvkk input {
        width: 18px;
        height: 18px;
        accent-color: #dc3545;
        cursor: pointer;
    }

    .ay-ik-kvkk label {
        cursor: pointer;
    }

    .ay-ik-kvkk a {
        color: #dc3545;
        text-decoration: none;
    }

        .ay-ik-kvkk a:hover {
            text-decoration: underline;
        }

/* GÖNDER BUTONU */
.ay-ik-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-ik-button:hover {
        background-color: #bb2d3b;
        border-color: #bb2d3b;
    }

/* BİLGİ MESAJI */
.ay-ik-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-ik-mesaj-goster 5s forwards;
}

@keyframes ay-ik-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-ik-sonuc {
    text-align: center;
}

    .ay-ik-sonuc h5 {
        color: #555;
        line-height: 1.7;
        font-weight: 400;
    }

/* MOBİL */
@media (max-width: 768px) {

    .ay-ik-container {
        padding: 20px 12px;
    }

    .ay-ik-card {
        margin: 15px auto;
        padding: 25px 18px;
        border-radius: 15px;
    }

    .ay-ik-title {
        font-size: 22px;
    }

    .ay-ik-col {
        width: 100%;
    }

    .ay-ik-button {
        width: 100%;
    }

    .ay-ik-mesaj {
        left: 15px;
        right: 15px;
        min-width: auto;
    }
}
