html , body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%;
    overflow-x: hidden;
  }
.location {
    display: flex;
    padding: 2px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1 );
    p:first-of-type {
        margin-left: 15%;
        white-space: pre-wrap;
        font-weight: bold;
    }
}
:root {
    --section-background-color:rgb(226,228,230);
    --input-color:#0ee6df17;
    --input-colors:rgb(226,228,230,0.5);
    --button-backgorund-color:#ed5158;
}
.login {
    margin: 50px 15%;
    font-size: 2rem;
    column-gap: 4%;
    display: flex;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1 );
    padding: 13px;
    .login-left {
        display: flex;
        flex-direction: column;
        width: 49%;
        font-size: 2rem;

        input[type="radio"] { appearance: none;
            width: 20px;
            height: 20px;
            border: 1px solid black;
            border-radius: 50%;
            position: absolute;
            right: 5px;
            top: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        input[type="radio"]:nth-of-type(2) {
           top: 3px;
           right: 3px;
        }
        input[type="radio"]:before {
            content: '';
            width: 15px;
            height: 15px;
            background-color: rgba(0, 0, 100, 0.8);
            border-radius: 50%;
            opacity: 0;
            transform: scale(0.5);
            transition: all 1s ease;
        }
        input[type="radio"]:checked:before {
            opacity: 1;
            transform: scale(1);
        }

        .buttons {
              padding: 8px 18px;
              border-radius: 10px;
              font-size: 20px;
              width: max-content;
              background-color: var(--button-backgorund-color);
              color: white;
              cursor: pointer;
              text-decoration: none;
        }
        .buttons:hover {
            opacity: 0.9;
        }
        .Alan {
            width: 100%;
            margin-bottom: 20px;
             padding: 20px;
            background-color: var(--input-colors);
            font-size: 17px;
            position: relative;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            transition: all 1s ease;
            position: relative;

        }

        h6 {
            border-bottom: 1px solid rgba(0, 0, 0, 0.1 );
            padding: 10px 0;
            font-size: 25px !important;
            margin: 13px !important;

           }

    }
 .login-right {
    width: 49%;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
    form {
        display: block;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        button {

            border: none;
            background-color: var(--button-backgorund-color);
            color: white;
            font-size: 20px;
            padding: 8px 18px;
            border-radius: 10px;
            cursor: pointer;
            margin-top: 13px;
        }
        button:hover {
            opacity: .9;
        }
        .password {
         .password-alt {
            display: flex;
             align-items: center;
            padding: 15px 25px;
            border-radius: 15px;
            border: 1px solid black;

            input {
                padding: 0 15px;
                border: none;
                outline: none;
                font-size: 12px;
            }

         }
        }
        i {
            font-size: 16px;
        }
        .user {
            display: flex;
            flex-direction: column;
            .user-alt {
                display: flex;
                padding: 15px 25px;
                border-radius: 15px;
                border: 1px solid black;

                i {

                    height: 100%;
                }
                input {
                    border: none;
                    outline: none;
                    padding: 0 15px;
                    font-size: 12px;
                }
            }
        }
        input {
            width: 98%;
        }
    }
    h6 {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1 );
        padding: 10px 0px;
        margin: 13px !important;
        font-size: 25px !important;
       }
 }
 .icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
 }
}
/* Ayrıldığı Yer Registere Geçiyoz */

.register-right{
    width: 49%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    h6 {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1 ) !important;
        padding: 10px 0 !important;
        margin: 13px !important;
        font-size: 25px !important;
    }
    form {
        display: block;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        button {

            border: none;
            background-color: var(--button-backgorund-color);
            color: white;
            font-size: 20px ;
            padding: 8px 18px;
            border-radius: 10px;
            cursor: pointer;
            margin-top: 13px;
        }
        button:hover {
            opacity: .9;
        }
        .password {
            .password-alt {
                display: flex;
                align-items: center;
                padding: 15px 25px;
                border-radius: 15px;
                border: 1px solid black;
                position: relative;
                .eyes i:first-of-type {
                    display: none;
                }
                .eyes.eyes-slash i:first-of-type {
                    display: inline-block;
                }
                .eyes.eyes-slash i:last-of-type {
                    display: none;
                }
                .eyes i {
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    right: 15px;
                }
                input {
                    border: none;
                    outline: none;
                    padding: 0 15px;
                    font-size: 12px;
                 }

            }
        }
        i {
            font-size: 16px;
        }
        .user {
            display: flex;
            flex-direction: column;
            .user-alt {
                display: flex;
                padding: 15px 25px;
                border-radius: 15px;
                border: 1px solid black;

                i {

                    height: 100%;
                }
                input {
                    border: none;
                    outline: none;
                    padding: 0 15px;
                    font-size: 12px;
                }
            }
        }
        input {
            width: 98%;
        }
    }
    h6 {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1 );
        padding: 10px 0;
        margin: 13px !important;
        font-size: 25px !important;
    }
}
.icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media(max-width:1050px)
{

  html , body {
       width: 100%;
   }
  .buttons {
      width: 87.5% !important;
      margin: 0 auto;
       text-align: center;
  }
     .login {
        flex-direction: column;
        margin: 50px auto;
        width: 85% !important;
         button {
             width: 95% !important;
             margin: 13px auto !important;
         }
     }
     .login-left {
        width: 95% !important;

     }
     .login-right {
        width: 100% !important;
         button {
             width: 95% !important;
             margin: 13px auto !important;
         }
     }
    .register-right {
        width: 100% !important;
        button {
            width: 95% !important;
            margin: 13px auto !important;
        }
    }
    html  {
        font-size: 9.5px;
    }
     }

.register-right.active {
    display: flex;
}
.read-accept {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 4px;
    font-size:12px;
    margin-top: 13px;
    a{
        color: blue;
    }
    input[type="checkbox"] {
        padding: 0;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
}
#message {
    font-size: 13px;

}
#warning-message {
    font-size: 13px;
    margin-top: 13px;
    color: red;
}

header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
}
.adminscreen-wrapper {
    margin: 80px 0 80px 220px;
    display: block;
    .table {
        border-collapse: collapse;
        width: 90%;
        background-color: #ffe6e6; /* Açık kırmızı arka plan */
    }

    .table caption {
        font-size: 1.2rem;
        font-weight: bold;
        color: #b30000; /* Koyu kırmızı */
    }

    .table th, .table td {
        border: 2px solid #b30000; /* Koyu kırmızı border */
        padding: 10px;
        text-align: left;
    }

    .table thead {
        background-color: #ff4d4d; /* Kırmızı başlık */
        color: white;
    }

    .table tbody tr:hover {
        background-color: #ff9999; /* Hover efekti */
        transition: 0.3s;
    }

}

.sidebar {
    position: fixed;
    top: 65px;
    left: 0;
   width: 200px;
    height: calc(100vh - 60px);
    background-color: #ed5158;
    color: white;
    border-right: 2px solid black;

    .search-wrapper {
        display: flex;
        align-items: flex-start;
        background-color: black;
        border-radius: 6px;
        color: white;
        width: 80%;
        margin :20px;
        input {
            border: none;
            padding: 2px 15px;
            border-radius: 6px;
            font-size: 20px;
            width: 100%;
            outline: none;
        }

     div {
         min-height: 100%;
        padding: 0 4px;
         cursor: pointer;
         i {
             color: white;
             display: inline-block;
             font-size: 17px;

         }
     }

    }
    ul {
         display: flex;
        flex-direction: column;
         align-items: flex-start;
        list-style: none;
        margin-top: 20px;
        row-gap: 20px;
        margin-left: 20px !important;
        li {
            position: relative;
            overflow: hidden;
            font-size: 20px;
            a {
                text-decoration: none;
                color: white;
            }
        }
        li::before {
            content: '';
            display: inline-block;
            position: absolute;
            top:50%;
            transform: translateY(10px) translateX(-100%);
            width: 100%;
            height: 2px;
            background-color: white;
            transition: transform 0.2s ease;
        }
        li:hover::before {
            transform: translateY(10px) translateX(0);
        }
    }
}
.sidebar.active {
    font-weight: bold;
}
.custom-swal-popup {
    border-radius: 6px !important; /* Köşeleri yumuşat */
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #ed5158 !important;
}
@media screen and (max-width: 768px) {
    .table {
        width: 100%;
        display: block;
        overflow-x: auto;
    }

    .table thead {
        display: none; /* Başlığı gizle */
    }

    .table tbody,
    .table tr,
    .table td {
        display: block;
        width: 100%;
    }

    .table tbody tr {
        margin-bottom: 10px;
        border: 2px solid #b30000;
        background-color: #ffe6e6;
        padding: 10px;
    }

    .table td {
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
        color: #b30000;
        text-align: left;
    }
}
/* Popup Arka Plan */
.popup {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Yarı saydam arka plan */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Üstte görünmesi için */
}

/* Popup İçeriği */
.popup-content {
    background: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Form Input */
.popup input[type="email"] {
    width: 76%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}
.popup button[type="submit"] {
    width: 20%;
    font-size: 15px;
    height: 50px;
}
/* Button Stil */
.popup button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #45a049;
}

/* Kapatma butonu */
#closePopup {
    background-color: #f44336;
    margin: 10px auto;
    width: 100%;
}

#closePopup:hover {
    background-color: #d32f2f;
}
#resetForm {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
@media (max-width: 1100px) {
    .popup-content {
        width: 85%;
    }
    #resetForm {
        flex-direction: column;
    }
    .popup input[type="email"] {
        width: 100%;
    }
    .popup button[type="submit"]  {
        width: 100%;
    }
}

