@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Regular-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Regular-FD-UI.woff2') format('woff2'), url('../font/Vazir-Regular-FD-UI.woff') format('woff'), url('../font/Vazir-Regular-FD-UI.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Bold-FD-UI.eot');
    src: url('../font/Vazir-Bold-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Bold-FD-UI.woff2') format('woff2'), url('../font/Vazir-Bold-FD-UI.woff') format('woff'), url('../font/Vazir-Bold-FD-UI.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Black-FD-UI.eot');
    src: url('../font/Vazir-Black-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Black-FD-UI.woff2') format('woff2'), url('../font/Vazir-Black-FD-UI.woff') format('woff'), url('../font/Vazir-Black-FD-UI.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Medium-FD-UI.eot');
    src: url('../font/Vazir-Medium-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Medium-FD-UI.woff2') format('woff2'), url('../font/Vazir-Medium-FD-UI.woff') format('woff'), url('../font/Vazir-Medium-FD-UI.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Light-FD-UI.eot');
    src: url('../font/Vazir-Light-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Light-FD-UI.woff2') format('woff2'), url('../font/Vazir-Light-FD-UI.woff') format('woff'), url('../font/Vazir-Light-FD-UI.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: Vazir;
    src: url('../font/Vazir-Thin-FD-UI.eot');
    src: url('../font/Vazir-Thin-FD-UI.eot?#iefix') format('embedded-opentype'), url('../font/Vazir-Thin-FD-UI.woff2') format('woff2'), url('../font/Vazir-Thin-FD-UI.woff') format('woff'), url('../font/Vazir-Thin-FD-UI.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

body {
    font-family: Vazir;
    height: 100vh;
    margin: 0;
    display: flex;
    direction: rtl
}

.login-container {
    text-align: center;
}

.login-title {
    color: #fff;
    margin-bottom: 20px;
}

.login-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px 35px;
    width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.form-group {
    margin-bottom: 15px;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

    .login-btn:hover {
        background: #5563d6;
    }

.error-text {
    margin-top: 15px;
    color: #e53935;
    font-size: 14px;
}


.users-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.users-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.add-btn {
    display: inline-block;
    margin-bottom: 15px;
    background: #667eea;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .add-btn:hover {
        background: #5563d6;
    }

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .users-table th,
    .users-table td {
        padding: 12px 15px;
        text-align: center;
    }

    .users-table thead th {
        background: #667eea;
        color: #fff;
        font-weight: 600;
    }

    .users-table tbody tr {
        background: #f9f9f9;
        transition: background 0.3s ease;
    }

        .users-table tbody tr:nth-child(even) {
            background: #f1f3f6;
        }

        .users-table tbody tr:hover {
            background: #e6e8ff;
        }

.btn-warning {
    background: #f0ad4e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease;
}

    .btn-warning:hover {
        background: #ec9b36;
    }

.ftp-container {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    direction: rtl;
    text-align: right;
}

.ftp-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: darkgreen
}

.status-box {
    background: #f7f9fc;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: gray;
}

.status-yes {
    color: #0d950d;
    font-weight: bold;
}

.status-no {
    color: #c80000;
    font-weight: bold;
}

.date-list-box {
    max-height: 250px;
    overflow-y: auto;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

    .date-list-box ul li {
        padding: 6px 0;
        border-bottom: 1px dashed #ccc;
    }

.table {
    text-align: center
}

    .table thead {
        background: darkgreen;
        color: #faf9f9;
    }

    .table tbody tr:hover {
        background: #dfdfdfa1;
        transition: 0.2s;
    }

    .table tbody td {
        color: #4a4a4a
    }

.btn-success {
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.9rem;
    background-color: darkgreen
}

.scroll-table {
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 0;
}

    .scroll-table table {
        margin-bottom: 0 !important;
    }

h5 {
    color: #4a4a4a
}