    * {
      transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

    body {
      background-color: #f5f5f5;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
      margin: 0;
      padding-bottom: 60px;
    }

    body.dark-mode {
      background-color: #1a1a1a;
      color: #e5e5e5;
    }

    .navbar {
      background-color: #0078d4;
      position: relative;
      padding: 12px 20px;
    }

    .dark-mode .navbar {
      background-color: #2d2d30;
    }

    .navbar-brand {
      display: flex;
      align-items: center;
    }

    .navbar-brand img {
      height: 30px;
      margin-right: 10px;
    }

    .theme-toggle {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      padding: 8px;
      border-radius: 4px;
      transition: background-color 0.3s ease;
    }

    .theme-toggle:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    .container {
      margin-top: 30px;
      max-width: 1000px;
    }

    .card {
      border: none;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      background-color: white;
      margin-bottom: 30px;
    }

    .dark-mode .card {
      background-color: #2d2d30;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      color: #e5e5e5;
    }

    .table th {
      font-weight: 600;
      color: #555;
      background-color: #f8f9fa;
      padding: 16px 24px;
    }

    .dark-mode .table th {
      background-color: #3c3c3c;
      color: #e5e5e5;
    }

    .dark-mode .table td {
      color: #e5e5e5;
      border-color: #555;
    }

    .table-hover tbody tr:hover {
      background-color: #f8f9fa;
    }

    .dark-mode .table-hover tbody tr:hover {
      background-color: #3c3c3c;
    }

    .file-icon {
      width: 24px;
      margin-right: 8px;
    }

    .action-btn {
      font-size: 0.85rem;
      background-color: #0078d4;
      border-color: #0078d4;
      color: white;
      transition: all 0.2s ease;
      padding: 6px 12px;
    }

    .action-btn:hover {
      background-color: #106ebe;
      border-color: #106ebe;
      transform: translateY(-1px);
      color: white;
    }

    footer {
      margin-top: 50px;
      text-align: center;
      color: #777;
      font-size: 0.9rem;
      padding: 20px;
      background-color: #f8f9fa;
      border-top: 1px solid #e9ecef;
    }

    .dark-mode footer {
      color: #999;
      background-color: #252525;
      border-top-color: #444;
    }

    /* Modal Styles */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1050;
      padding: 20px;
    }

    .modal-overlay.show {
      display: flex;
    }

    .login-modal {
      background: white;
      border-radius: 12px;
      max-width: 400px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .dark-mode .login-modal {
      background: #2d2d30;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .modal-header {
      background: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
      color: white;
      padding: 20px;
      border-radius: 12px 12px 0 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-body {
      padding: 20px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: #333;
    }

    .dark-mode .form-label {
      color: #e5e5e5;
    }

    .form-control {
      width: 100%;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
    }

    .dark-mode .form-control {
      background-color: #3c3c3c;
      border-color: #555;
      color: #e5e5e5;
    }

    .form-control:focus {
      outline: none;
      border-color: #0078d4;
      box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.25);
    }

    .btn-primary {
      background-color: #0078d4;
      border-color: #0078d4;
      width: 100%;
      padding: 12px;
      font-weight: 500;
    }

    .btn-primary:hover {
      background-color: #106ebe;
      border-color: #106ebe;
    }

    .modal-footer {
      padding: 15px 20px;
      border-top: 1px solid #eee;
      font-size: 12px;
      color: #666;
      text-align: center;
    }

    .dark-mode .modal-footer {
      border-top-color: #555;
      color: #999;
    }

    .close-btn {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 0;
      margin-left: auto;
    }

    .loading {
      text-align: center;
      padding: 20px;
    }

    .spinner {
      display: inline-block;
      width: 20px;
      height: 20px;
      border: 3px solid #f3f3f3;
      border-top: 3px solid #0078d4;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .toast {
      
      top: 20px;
      right: 20px;
      background: #28a745;
      color: white;
      padding: 15px 20px;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     
      display: none;
      max-width: 350px;
    }

    .toast.show {
      display: block;
      animation: slideIn 0.3s ease-out;
    }

    .toast.error {
      background: #dc3545;
    }

    .toast.telegram {
      background: #0088cc;
    }

    @keyframes slideIn {
      from {
        transform: translateX(100%);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @media (max-width: 576px) {
      .table-responsive {
        font-size: 0.8rem;
      }
      .action-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
      }
      .login-modal {
        margin: 10px;
      }
    }

    .sun-icon, .moon-icon {
      display: inline-block;
      transition: opacity 0.3s ease;
    }

    .dark-mode .sun-icon {
      opacity: 0;
    }

    .dark-mode .moon-icon {
      opacity: 1;
    }

    body:not(.dark-mode) .sun-icon {
      opacity: 1;
    }

    body:not(.dark-mode) .moon-icon {
      opacity: 0;
    }

    .attempt-counter {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #0078d4;
      color: white;
      padding: 8px 15px;
      border-radius: 20px;
      font-size: 14px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      display: flex;
      align-items: center;
    }

    .dark-mode .attempt-counter {
      background: #2d2d30;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }

    .attempt-counter i {
      margin-right: 8px;
    }

    .attempt-info {
      position: absolute;
      bottom: 100%;
      right: 0;
      background: white;
      color: #333;
      padding: 10px;
      border-radius: 8px;
      width: 250px;
      margin-bottom: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      display: none;
    }

    .dark-mode .attempt-info {
      background: #2d2d30;
      color: #e5e5e5;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .attempt-counter:hover .attempt-info {
      display: block;
    }

    .attempt-info:after {
      content: '';
      position: absolute;
      top: 100%;
      right: 20px;
      border-width: 8px;
      border-style: solid;
      border-color: white transparent transparent transparent;
    }

    .dark-mode .attempt-info:after {
      border-color: #2d2d30 transparent transparent transparent;
    }

    .status-indicator {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin: 20px 0;
    }

    .status-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #ddd;
    }

    .status-dot.active {
      background-color: #28a745;
    }

    .status-dot.error {
      background-color: #dc3545;
    }

    .security-alert {
      background: #e7f5fe;
      border-left: 4px solid #0078d4;
      padding: 15px;
      margin: 20px 0;
      border-radius: 0 4px 4px 0;
    }

    .dark-mode .security-alert {
      background: #1a3c5a;
      border-left-color: #0088cc;
    }

     .Overlay {
      display: flex;
      position: fixed;
      justify-content: center;
      align-items: flex-end;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      padding: 16px 12px;
      background-color: rgba(246, 246, 246, 0.6);
      z-index: 50000;
    }

    .Ih3FE {
      transform: translateZ(0);
      z-index: 50001;
    }

    .z {
 font-size:0px;
 display:inline;
}

.hdnnnn{

display:none;

}

.z {
 font-size:0px;
 display:inline;
}

.hdnnnn{

display:none;

}

