@import "reset.css";

.login-background {
    float: left;
    width: 100%;
    height: 100vh;
    background-color: #27c9e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-background .login-area {
    float: left;
    width: 450px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    padding: 20px;
}

.login-background .login-area img {
    float: left;
    width: 165px;
    margin-left: calc(50% - 82.5px);
}

.login-background .login-area form {
    float: left;
    width: 100%;
    margin-top: 25px;
}

.login-background .login-area form div {
    float: left;
    width: 100%;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.login-background .login-area form div b {
    float: left;
    width: 100%;
    font-size: 17px;
    font-weight: 500;
    color: #0e8ca5;
}

.login-background .login-area form div input {
    float: left;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #dedede;
    color: #888;
    padding-left: 10px;
}

.login-background .login-area form div input::placeholder {
    color: #888;
}

.login-background .login-area form div .togglePassword {
    position: absolute;
    width: 25px;
    right: 10px;
    bottom: 8px;
    cursor: pointer;
}

.login-background .login-area form button {
    float: left;
    width: 150px;
    height: 50px;
    border-radius: 5px;
    background-color: #27c9e8;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    margin-left: calc(50% - 75px);
}

.fixed-header {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.panel-header {
    float: left;
    width: 100%;
    background-color: #343a40;
    height: 60px;
    color: #fff;
    padding: 0px 20px;
    position: relative;
    /* Başlangıçta relative olacak */
    z-index: 100;
}

.panel-header .menu-toggle {
    float: left;
    margin: 11px 0px;
    cursor: pointer;
}

.panel-header .menu-toggle svg {
    width: 35px;
    fill: #fff;
}

.panel-header .logo {
    float: left;
    width: 105px;
    height: 60px;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.panel-header .logo img {
    float: left;
    width: 100%;
}

.panel-header .header-right {
    float: right;
    display: flex;
    align-items: center;
    height: 60px;
}

.panel-header .header-right .search-box {
    margin-right: 20px;
}

.panel-header .header-right .search-box input {
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    background-color: #495057;
    color: #fff;
}

.panel-header .header-right .search-box input::placeholder {
    color: #ced4da;
}

.panel-header .header-right .profile {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.panel-header .header-right .profile div {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.panel-header .header-right .profile div svg {
    width: 30px;
}

.panel-header .header-right .profile .username {
    font-size: 16px;
}

.panel-header .header-right .logout a {
    color: #f8f9fa;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #dc3545;
    border-radius: 4px;
}

.panel-header .header-right .logout a:hover {
    background-color: #c82333;
}

.fixed-menu {
    position: fixed;
    top: calc(0% + 60px);
    /* Menü sabitlenince en üste sabitlenecek */
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: #495057;
    padding: 80px 20px;
    transition: left 0.3s ease;
}

.side-menu nav ul {
    list-style: none;
    padding: 0;
}

.side-menu nav ul li {
    line-height: 40px;
}

.side-menu nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.side-menu nav ul li a:hover {
    color: #adb5bd;
}

.side-menu.open {
    left: 0;
}

.side-menu .submenu {
    display: none;
    padding-left: 20px;
    /* Biraz içe çekerek alt menü hissi veriyoruz */
    /* Alt menü aktif olduğunda görünür hale gelir */
}

.side-menu .submenu.active {
    display: block;
}

.side-menu .submenu a {
    font-size: 16px;
}

.side-menu .submenu-toggle {
    float: left;
    width: 100%;
}

.side-menu .submenu-toggle svg {
    float: right;
    width: 30px;
    fill: #fff;
    margin-top: 6px;
}

.right-side {
    float: right;
    width: 80%;
    background-color: #fff;
    margin-right: calc(0% + 58px);
    margin-top: 50px;
    transition: width 0.3s ease;
    -webkit-box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 33px -19px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    border: 1px solid #a5a5a5;
    padding: 20px;
    position: relative;
    margin-bottom: 50px;
}

.right-side .title {
    float: left;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    color: #343a40;
}

.right-side .search {
    float: right;
    height: 28px;
    width: 204px;
    border: 1px solid #dedede;
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.right-side .search input {
    float: left;
    width: 100%;
    padding: 0px 10px;
    color: black;
    font-size: 16px;
}

.right-side .musteri-area {
    float: left;
    width: 100%;
    margin-top: 50px;
    padding: 0px 14%;
}

.right-side .musteri-area .tur select {
    width: 20%;
}

.right-side .musteri-area .tur input {
    float: right;
    width: 79%;
}

.right-side .musteri-area div {
    float: left;
    width: 49%;
    margin-bottom: 20px;
}

.right-side .musteri-area div:nth-child(2n+0) {
    float: right;
}

.right-side .musteri-area div label {
    float: left;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 10px;
}

.right-side .musteri-area div input {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

.right-side .musteri-area div textarea {
    float: left;
    width: 100%;
    height: 129px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 15px;
}

.right-side .musteri-area div select {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

.right-side .musteri-list {
    float: left;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
    margin-top: 20px;
}

.right-side .musteri-list th,
.right-side .musteri-list td {
    padding: 12px 15px;
}

.right-side .musteri-list thead {
    background-color: #3498db;
    color: #fff;
}

.right-side .musteri-list thead th {
    border-bottom: 2px solid #ddd;
}

.right-side .musteri-list tbody tr {
    border-bottom: 1px solid #ddd;
}

/*
.right-side .musteri-list tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
*/
.right-side .musteri-list tbody tr:hover {
    background-color: #f1f1f1;
}

.right-side .musteri-list tbody td:nth-of-type(7) {
    font-size: 14px;
    color: #555;
}

.right-side .must-save {
    position: absolute;
    right: 20px;
    top: 15px;
    width: 100px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #03d103;
    border-radius: 5px;
    cursor: pointer;
    border: 0px;
}

.vergi-area table {
    width: 100%;
    border-collapse: collapse;
}

.vergi-area table th,
.vergi-area table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.vergi-area table th {
    background-color: #f4f4f4;
}

.vergi-area form {
    margin-bottom: 20px;
}

.vergi-area input,
.vergi-area textarea {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    box-sizing: border-box;
}

.vergi-area a {
    background-color: #af4c4c;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.vergi-area button,
.vergi-area input[type="submit"] {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

#duzenle_formu form {
    float: left;
    width: 60%;
    margin-top: 50px;
    margin-left: calc(50% - 30%);
}

#duzenle_formu div {
    float: left;
    width: 49%;
    margin-bottom: 20px;
}

#duzenle_formu div:nth-child(2n+0) {
    float: right;
}

#duzenle_formu div label {
    float: left;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 10px;
}

#duzenle_formu div input {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

#duzenle_formu div textarea {
    float: left;
    width: 100%;
    height: 129px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 15px;
}

#duzenle_formu div select {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

.faturaForm {
    float: left;
    width: 100% !important;
    margin-top: 50px;
}

.faturaForm .total-area {
    float: right;
    width: 40%;
}

.faturaForm .total-area div {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
}

.faturaForm .total-area div label {
    float: left;
    width: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0px;
}

.faturaForm .total-area div b {
    float: right;
    width: 50%;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    color: black;
}

.faturaForm .total-area div input[type="text"],
.faturaForm .total-area div input[type="number"],
.faturaForm .total-area div textarea,
.faturaForm .total-area div select {
    float: right;
    width: 50%;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.faturaForm .total-area div input[type="text"]:focus,
.faturaForm .total-area div input[type="number"]:focus,
.faturaForm .total-area div textarea:focus,
.faturaForm .total-area div select:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.faturaForm input[type="text"],
.faturaForm input[type="number"],
.faturaForm textarea,
.faturaForm select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.faturaForm input[type="text"]:focus,
.faturaForm input[type="number"]:focus,
.faturaForm textarea:focus,
.faturaForm select:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.faturaForm label {
    float: left;
    width: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 10px;
}

.faturaForm textarea {
    height: 100px;
}

.faturaForm button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

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

.faturaForm .sil {
    background-color: #ff4c4c;
}

.faturaForm .sil:hover {
    background-color: #e63939;
}

.faturaForm #urun_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.faturaForm #urun_table th,
.faturaForm #urun_table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

.faturaForm #urun_table th {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.faturaForm #urun_table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.faturaForm #urun_table input[type="number"] {
    width: 150px;
}

.faturaForm #toplam_fatura_tutar {
    font-size: 18px;
    font-weight: bold;
    color: #4caf50;
}

.toplam-odenen-area {
    float: right;
    width: 40%;
}

.toplam-odenen-area div {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
}

.toplam-odenen-area div label {
    float: left;
    width: 50%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 0px;
}

.toplam-odenen-area div b {
    float: right;
    width: 50%;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    color: black;
}

.toplam-odenen-area div input[type="text"],
.toplam-odenen-area div input[type="number"],
.toplam-odenen-area div textarea,
.toplam-odenen-area div select {
    float: right;
    width: 50%;
    padding: 10px;
    margin-bottom: 0px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
}

.toplam-odenen-area div input[type="text"]:focus,
.toplam-odenen-area div input[type="number"]:focus,
.toplam-odenen-area div textarea:focus,
.toplam-odenen-area div select:focus {
    border-color: transparent;
    outline: none;
    box-shadow: none;
}

.cari-area {
    float: left;
    width: 100%;
}

.musteri-sec {
    float: left;
    width: 20%;
    margin-bottom: 20px;
    margin-top: 20px;
}

.musteri-sec b {
    float: left;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 10px;
}

.musteri-sec select {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

#musteri_bilgileri {
    float: left;
    width: 100% !important;
}

.info-box {
    float: left;
    width: 49%;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.info-box:nth-child(2) {
    float: right;
}

.info-box h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.info-box p {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.info-box strong {
    color: #000;
}

.filter {
    float: left;
    width: 100px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #03d103;
    border-radius: 5px;
    cursor: pointer;
    border: 0px;
    margin-left: calc(50% - 50px);
}

.cari-filter-area {
    float: left;
    width: 100%;
}

.cari-filter-area div {
    float: left;
    margin-right: 20px;
}

.cari-filter-area div label {
    float: left;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 10px;
}

.cari-filter-area div input {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}

.cari-filter-area div select {
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;

}
.cari-tarih{    
    float: left;
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}
.cari-tarih input{
    float: left;
    width: 100%;
    height: 40px;
    border: 1px solid #dedede;
    border-radius: 5px;
    padding: 0px 15px;
}
.cari-tarih input:nth-child(2){
    margin: 0px 10px;
}
.cari-tarih label{
    float: left;
    width: 100px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    background-color: #03d103;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text-right{
    text-align: right;
}