﻿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;
}



/* استایل برای ورودی فایل */
.custom-file-input {
    display: none;
}

.custom-file-label {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    border: 2px dashed #ced4da;
    text-align: center;
    cursor: pointer;
    color: #6c757d;
    font-size: 16px;
}

    .custom-file-label:hover {
        background-color: #e2e6ea;
    }

/* استایل برای دکمهها */
.btn-primary, .btn-danger {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

    .btn-danger:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

/* استایل برای موبایل */
@media (max-width: 576px) {
    .custom-file-label {
        font-size: 14px;
    }

    .btn-primary, .btn-danger {
        font-size: 14px;
        padding: 8px;
    }

    .progress {
        height: 25px;
    }

    .progress-bar {
        line-height: 25px;
        font-size: 14px;
    }
}



/* استایل برای جدول */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table th,
    .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
    }

    .table tbody + tbody {
        border-top: 2px solid #dee2e6;
    }

/* استایل برای دکمهها */
.btn-privacy {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-success-privacy {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger-privacy {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}