.hidden { display: none !important; } .fixed { position: fixed !important; } .inset-0 { top: 0; right: 0; bottom: 0; left: 0; } .z-50 { z-index: 50; } /* For the modal layout container */ .modal-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 50; } .modal-content { background-color: #1a1a1a; border-radius: 0.5rem; overflow: hidden; position: relative; display: flex; flex-direction: column; width: 90%; max-width: 600px; margin: 1rem; } /* On larger screens, increase the width */ @media (min-width: 1024px) { .modal-content { width: 50%; max-width: 800px; } } /* Constrain modal height */ .modal-content { max-height: 90vh; } /* Example top sticky header gradient from black/80 to transparent */ .modal-header-gradient { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent); } /* Absolute overlay for darker background + blur */ .modal-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 10; } /* For the body content area inside the modal */ .modal-body { padding: 2rem; flex: 1; color: #e5e5e5; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; } /* Footer area */ .modal-footer { border-top: 1px solid #4b5563; padding: 1rem 1.5rem; display: flex; justify-content: end; background-color: #2d2d2d; } /* Example close button on top-right */ .modal-close-btn { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background-color: rgba(0, 0, 0, 0.5); cursor: pointer; } /* Hover/focus states for the close button */ .modal-close-btn:hover { background-color: rgba(0, 0, 0, 0.7); } .modal-close-btn:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); } /* Additional utility styles */ .flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .p-4 { padding: 1rem; } .p-6 { padding: 1.5rem; } .text-xl { font-size: 1.25rem; } .font-bold { font-weight: 700; } .text-white { color: #fff; } .rounded-full { border-radius: 9999px; } .profile-avatar { width: 80px; height: 80px; } /* Logout button styling */ #profileLogoutBtn { background-color: #ef4444; color: #ffffff; padding: 0.5rem 1rem; border-radius: 0.375rem; transition: background-color 0.2s; border: none; } #profileLogoutBtn:hover { background-color: #dc2626; } /* Custom settings modal styles */ .custom-modal-content { background-color: #1a1a1a; /* Dark background */ border-radius: 0.5rem; color: #e5e5e5; /* Light text color */ } .custom-modal-header { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent); border-bottom: none; /* Remove default border */ padding: 1.5rem; /* Increased padding */ } .custom-modal-body { padding: 2rem; /* Increased padding for better spacing */ display: flex; flex-direction: column; align-items: center; /* Center content horizontally */ } .custom-modal-body .form-label { color: #e5e5e5; /* Light text for labels */ } .custom-modal-body .form-control { background-color: #2d2d2d; /* Dark input background */ color: #e5e5e5; /* Light text in inputs */ border: 1px solid #4b5563; /* Subtle border */ } .custom-modal-body .form-control::placeholder { color: #9ca3af; /* Placeholder text color */ } .custom-modal-body .btn-primary { background-color: #2563eb; /* Bootstrap primary color */ border: none; width: 100%; /* Full-width button */ } .custom-modal-body .btn-primary:hover { background-color: #1d4ed8; /* Darker on hover */ } .custom-modal-body p { color: #9ca3af; /* Light gray for current storage text */ } /* Adjust modal dialog width */ .modal-dialog { display: flex; align-items: center; justify-content: center; min-height: 100vh; } @media (min-width: 1024px) { .modal-dialog { max-width: 800px; } } .custom-btn-primary { background-color: #ef4444; /* Red color */ border: none; color: #ffffff; width: 100%; } .custom-btn-primary:hover { background-color: #dc2626; /* Darker red on hover */ } .card-header { padding: 1rem 1.25rem; background-color: #f8f9fa; border-bottom: 1px solid rgba(0, 0, 0, 0.125); min-height: 70px; /* Adjust based on your design */ } .card-header h5 { margin-bottom: 0; /* Ensure no extra bottom margin */ font-size: 1.25rem; /* Match Bootstrap h5 size */ } #activeTorrentsHeader .btn { font-size: 0.875rem; /* Smaller buttons */ padding: 0.25rem 0.5rem; /* Reduced padding */ } #paginationContainer .btn { font-size: 0.875rem; /* Smaller buttons for pagination */ padding: 0.25rem 0.5rem; /* Reduced padding */ } #paginationContainer .d-flex { margin-top: 0; /* Remove extra margin */ gap: 0.25rem; /* Space between pagination buttons */ }