/* =========================================================
   PAZAR360 - ANA STİL DOSYASI
   Masaüstü + Mobil uyumlu
   ========================================================= */


/* =========================================================
   GENEL RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BODY
   ========================================================= */

body {
    background: #f3f6fb;
    font-family: Arial, Helvetica, sans-serif;
    color: #212529;
    min-height: 100vh;
}


/* =========================================================
   GENEL RESİMLER
   ========================================================= */

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   ANA CONTAINER
   ========================================================= */

/*
   Eski:
   width: 450px;

   Bunun yerine:
   - masaüstünde maksimum 450px
   - mobilde ekran genişliğine uyum
*/

.container {
    width: 100%;
    max-width: 450px;

    margin: 100px auto;

    background: #ffffff;

    padding: 40px;

    border-radius: 15px;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);

    text-align: center;
}


/* =========================================================
   BAŞLIKLAR
   ========================================================= */

h1 {
    color: #1d4ed8;
    margin-bottom: 10px;
}


/* =========================================================
   PARAGRAFLAR
   ========================================================= */

p {
    color: #555;
    margin-bottom: 30px;
}


/* =========================================================
   GENEL BUTON
   ========================================================= */

button {
    width: 100%;

    padding: 15px;

    background: #2563eb;

    color: #ffffff;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-size: 18px;

    transition: background 0.2s ease;
}


button:hover {
    background: #1d4ed8;
}


/* =========================================================
   ÖZEL .btn
   ========================================================= */

.btn {
    display: block;

    width: 100%;

    padding: 15px;

    background: #2563eb;

    color: #ffffff;

    text-decoration: none;

    border-radius: 10px;

    font-size: 20px;

    transition:
        background 0.2s ease,
        transform 0.1s ease;
}


.btn:hover {
    background: #1d4ed8;

    color: #ffffff;

    text-decoration: none;
}


.btn:active {
    transform: scale(0.98);
}


/* =========================================================
   FORM ELEMANLARI
   ========================================================= */

input,
select,
textarea {
    max-width: 100%;
}


/* =========================================================
   TABLOLAR
   ========================================================= */

/*
   Uzun tabloların mobilde ekranı bozmasını önlemek için.
*/

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 767.98px) {

    body {
        overflow-x: hidden;
    }


    /* ---------------------------------------------
       ANA CONTAINER
       --------------------------------------------- */

    .container {
        width: calc(100% - 24px);

        max-width: none;

        margin: 30px auto;

        padding: 20px;

        border-radius: 12px;
    }


    /* ---------------------------------------------
       BAŞLIK
       --------------------------------------------- */

    h1 {
        font-size: 28px;

        line-height: 1.2;
    }


    h2 {
        font-size: 24px;
    }


    h3 {
        font-size: 21px;
    }


    h4 {
        font-size: 19px;
    }


    /* ---------------------------------------------
       PARAGRAF
       --------------------------------------------- */

    p {
        margin-bottom: 20px;

        line-height: 1.5;
    }


    /* ---------------------------------------------
       BUTON
       --------------------------------------------- */

    button {
        width: 100%;

        min-height: 48px;

        padding: 12px 15px;

        font-size: 16px;
    }


    .btn {
        width: 100%;

        min-height: 48px;

        padding: 12px 15px;

        font-size: 16px;
    }


    /* ---------------------------------------------
       FORM
       --------------------------------------------- */

    input,
    select,
    textarea {
        width: 100%;

        max-width: 100%;

        font-size: 16px;
    }


    /* ---------------------------------------------
       BOOTSTRAP CARD
       --------------------------------------------- */

    .card {
        margin-bottom: 15px;
    }


    .card-body {
        padding: 15px;
    }


    /* ---------------------------------------------
       TABLOLAR
       --------------------------------------------- */

    table {
        min-width: 650px;
    }


    .table-responsive {
        overflow-x: auto;

        width: 100%;
    }


    /* ---------------------------------------------
       BOOTSTRAP ROW
       --------------------------------------------- */

    .row {
        --bs-gutter-x: 1rem;
    }


    /* ---------------------------------------------
       BOOTSTRAP KOLONLARI
       --------------------------------------------- */

    .col,
    [class*="col-"] {
        margin-bottom: 10px;
    }


    /* ---------------------------------------------
       GENEL BOŞLUKLAR
       --------------------------------------------- */

    .p-5 {
        padding: 1.25rem !important;
    }


    .p-4 {
        padding: 1rem !important;
    }


    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }


    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }


    /* ---------------------------------------------
       BOOTSTRAP MODAL
       --------------------------------------------- */

    .modal-dialog {
        margin: 10px;
    }


    .modal-content {
        border-radius: 12px;
    }

}


/* =========================================================
   ÇOK KÜÇÜK TELEFONLAR
   ========================================================= */

@media (max-width: 375px) {

    .container {
        width: calc(100% - 16px);

        padding: 15px;

        margin: 20px auto;
    }


    h1 {
        font-size: 24px;
    }


    h2 {
        font-size: 21px;
    }


    .btn {
        font-size: 15px;

        padding: 11px 12px;
    }


    button {
        font-size: 15px;

        padding: 11px 12px;
    }

}