 @font-face {
            font-family: 'IRANSans';
            src: url('{{ asset('IRANSans.ttf') }}') format('truetype');
        }


        @font-face {
            font-family: '2  Titr';
            src: url('{{ asset('2TitrBold.ttf') }}') format('truetype');
            font-weight: bold;
            font-style: normal;
            font-display: swap;
        }

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'IRANSans', sans-serif;
}

body {
    font-family: 'IRANSans', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    background-image: url('/footer-img.png');
    background-size: cover;
    background-position: cover;
}

/* استایل هدر و نوار ناوبری */
header {
   background-color: #ffffff;
    color: #000000;
    padding: 12px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #000000a6;
}

.container {
    
    max-width: 96%;
    margin: 0 auto;
    padding: 0 2px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.logo {
    font-size: 12px;
   
     color: #ffffff;;
    text-decoration: none;
    
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #3498db;
}

/* دکمه خروج */
.btn-logout {
       background-color: #2731ae;
    color: white !important;
    padding: 6px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
}

.btn-logout:hover {
    background-color: #323cc9;
}

/* استایل کارت ورود */
.card-wrapper {
    text-align: center;
    margin-top: 14px;
}

.card-container {
    width: 310px;
    height: 434px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    margin: 0 auto; /* وسط‌چین کردن */
    border-radius: 3px;
    overflow: hidden;
}

/* موقعیت متن‌ها روی کارت */
.user-name {
    position: absolute;
    top: 247.4px;
    right: 136.5;
    font-size: 14px;
    font-weight: bold;
    color: #203142;
    font-family: '2  Titr' !important;
}

.user-code {
    position: absolute;
    top: 160px;
    right: 50px;
    font-size: 16px;
    color: #333;
}

.qr-code {
   position: absolute;
    bottom: 15px;
    left: 92px;
    width: 126px;
    height: 126px;
    border: solid 4px #e5a247;
}

/* دکمه دانلود */
.btn-download {
    display: inline-block;
    margin-top: 25px;
    padding: 8px 30px;
    background-color: #2731ae;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

.btn-download:hover {
    background-color: #323cc9;
}

/* استایل‌های اضافی برای صفحات ادمین */
.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.report-table th, .report-table td {
    padding: 6px 15px;
    border: 1px solid #ddd;
    text-align: right;
}

.report-table th {
    background-color: #2c3e50;
    color: white;
}

.report-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.filter-form {
    background: #fff;
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}


@media (max-width: 480px) {
    .logo {
       display: none;
     

    }

    .logo1 {
        display: block;
      
 
     }

    .title1{

         display: block;
        
        }

}