/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Critical CSS for above-the-fold content */
body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    line-height: 1.6;
    color: #b0b0b0;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: #000000;
    color: #e0e0e0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Logo hover effects removed */

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 60px;
}

.logo-torrent {
    color: #e0e0e0;
}

.logo-hoard {
    color: #ff6b35;
}

.logo-text:hover .logo-hoard {
    color: #ff8c5a;
}

.logo-text:hover {
    transform: scale(1.05);
}



.admin-logo {
    height: 50px;
    width: auto;
}



.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: 3rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #6c757d;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #545b62;
    color: #ff6b35;
}

/* Override for login and register buttons to maintain their special styling */
.nav-links a.btn-login,
.nav-links a.btn-register {
    background: none;
    border: none;
    box-shadow: none;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}

.nav-links a.btn-login {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: #e0e0e0;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a.btn-login:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d44a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: #e0e0e0;
}

.nav-links a.btn-register {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #e0e0e0;
    border: 2px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a.btn-register:hover {
    background: linear-gradient(135deg, #20c997 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: #e0e0e0;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    padding: 1rem 0;
    margin-bottom: 0;
}

/* Upload and Download sections */
.upload-section,
.download-section {
    margin-bottom: 1.5rem;
    padding: 2rem 0;
    height: 304px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* Individual page headings - reduce margin to match main page */
.container > h2 {
    margin-bottom: 0.5rem;
}

/* Section headings - left aligned */
.upload-section > h2,
.download-section > h2 {
    text-align: left;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 80%;
}

/* Form containers for consistent sizing */
.upload-form-container {
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
    max-width: 800px;
}

/* Ensure forms inside containers have consistent sizing */
.container .upload-form,
.container .download-form {
    margin: 0 auto;
    max-width: 80%;
    width: 100%;
}


/* Torrent Count Display */
.torrent-count-display {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 400px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.count-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e0e0e0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.count-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-primary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    color: #ff6b35;
}

.btn-secondary {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    color: #ff6b35;
}

.btn-success {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-success:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    color: #ff6b35;
}

.btn-danger {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-danger:hover {
    background-color: #545b62;
    color: #ff6b35;
}

.btn-warning {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-warning:hover {
    background-color: #545b62;
    color: #ff6b35;
}

.btn-outline {
    background-color: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.btn-outline:hover {
    background-color: #6c757d;
    color: #000000;
}

.btn-info {
    background-color: #6c757d;
    color: #e0e0e0;
}

.btn-info:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    color: #ff6b35;
}

.btn-warning {
    background-color: #ffc107;
    color: #000000;
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    color: #000000;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Special button styles for Login and Register */
.btn-login {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: #e0e0e0;
    border: 2px solid #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d44a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: #e0e0e0;
}

.btn-register {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #e0e0e0;
    border: 2px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-register:hover {
    background: linear-gradient(135deg, #20c997 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: #e0e0e0;
}

/* Profile page styles */
.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.profile-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-section {
    background: #000000;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.profile-section:hover {
    border-color: #ff6b35;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
}

.profile-section h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 0.5rem;
}

.profile-info {
    display: grid;
    gap: 1rem;
}

.info-item {
    padding: 0.75rem;
    background: #1a1a1a;
    border-radius: 5px;
    border-left: 4px solid #ff6b35;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #28a745;
    color: #e0e0e0;
}

.status-badge.inactive {
    background: #dc3545;
    color: #e0e0e0;
}

.api-key-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-key-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.api-key-form small {
    color: #dc3545;
    font-style: italic;
}

.profile-form {
    display: grid;
    gap: 1.5rem;
}

.trackers-list {
    display: grid;
    gap: 1rem;
}

.tracker-item {
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 5px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.tracker-item:hover {
    border-color: #ff6b35;
}

.tracker-url {
    font-family: monospace;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.tracker-meta {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Email confirmation section */
.email-confirmation-section {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 1px solid #ff6b35;
}

.email-confirmation-section h4 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.confirmation-form {
    margin-top: 1rem;
}

.confirmation-form .form-group {
    margin-bottom: 1rem;
}

.confirmation-form input[type="text"] {
    font-family: monospace;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 0.5rem;
    padding: 0.75rem;
    border: 2px solid #2a2a2a;
    border-radius: 5px;
    background: #000000;
    color: #e0e0e0;
    transition: border-color 0.3s ease;
}

.confirmation-form input[type="text"]:focus {
    border-color: #ff6b35;
    outline: none;
}

.confirmation-form input[type="text"]::placeholder {
    color: #6c757d;
    letter-spacing: normal;
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #000000;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #ff6b35;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rate-limit-form {
    display: grid;
    gap: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Severity badges */
.severity-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.severity-badge.severity-low {
    background: #28a745;
    color: #e0e0e0;
}

.severity-badge.severity-medium {
    background: #ffc107;
    color: #000000;
}

.severity-badge.severity-high {
    background: #dc3545;
    color: #e0e0e0;
}

.severity-badge.severity-critical {
    background: #6f42c1;
    color: #e0e0e0;
}

/* Severity row highlighting */
.admin-table tr.severity-low {
    border-left: 4px solid #28a745;
}

.admin-table tr.severity-medium {
    border-left: 4px solid #ffc107;
}

.admin-table tr.severity-high {
    border-left: 4px solid #dc3545;
}

.admin-table tr.severity-critical {
    border-left: 4px solid #6f42c1;
}



/* Features section */
.features {
    margin-bottom: 3rem;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #000000;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #1a1a1a;
    height: 200px;
    perspective: 1000px;
}

.feature-card:hover {
    border-color: #ff6b35;
}

.feature-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
}

.card-front {
    background: #000000;
    color: #ff6b35;
}

.card-back {
    background: #1a1a1a;
    color: #b0b0b0;
    transform: rotateY(180deg);
}

.card-front h4 {
    color: #ff6b35;
    font-size: 1.3rem;
    margin: 0;
}

.card-back p {
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

/* Upload & Download section */
.upload-download {
    margin-bottom: 3rem;
}

.upload-download h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
}

.action-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 254px;
    width: 100%;
    max-width: 80%;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    color: #ff6b35;
}

.upload-card:hover {
    border-color: #ff6b35;
}

.download-card:hover {
    border-color: #ff6b35;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h4 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.action-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Action card buttons */
.action-card .btn {
    margin-top: auto;
    align-self: center;
}

/* Upload Button - Individual rule with maximum specificity */
.upload-section .upload-form button[type="submit"].btn.btn-primary,
.upload-section .upload-form button[type="submit"].btn.btn-primary:focus,
.upload-section .upload-form button[type="submit"].btn.btn-primary:active {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 48px !important;
    padding: 0.75rem 1.5rem !important;
    margin: 1rem 0 0 auto !important;
    display: block !important;
    align-self: flex-end !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-color: #6c757d !important;
    color: #e0e0e0 !important;
}

.upload-section .upload-form button[type="submit"].btn.btn-primary:hover {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 48px !important;
    padding: 0.75rem 1.5rem !important;
    margin: 1rem 0 0 auto !important;
    display: block !important;
    align-self: flex-end !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-color: #6c757d !important;
    color: #ff6b35 !important;
}

/* Search Button - Individual rule with maximum specificity */
.download-section .download-form button[type="submit"].btn.btn-primary,
.download-section .download-form button[type="submit"].btn.btn-primary:focus,
.download-section .download-form button[type="submit"].btn.btn-primary:active {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 48px !important;
    padding: 0.75rem 1.5rem !important;
    margin: 1rem 0 0 auto !important;
    display: block !important;
    align-self: flex-end !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-color: #6c757d !important;
    color: #e0e0e0 !important;
}

.download-section .download-form button[type="submit"].btn.btn-primary:hover {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 48px !important;
    padding: 0.75rem 1.5rem !important;
    margin: 1rem 0 0 auto !important;
    display: block !important;
    align-self: flex-end !important;
    box-sizing: border-box !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-color: #6c757d !important;
    color: #ff6b35 !important;
}

/* Quick actions */
.quick-actions {
    margin-bottom: 3rem;
}

.quick-actions h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    background: #000000;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: #ff6b35;
    color: #ff6b35;
}

.dashboard-card h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 0.5rem;
}

.info-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.api-key-display {
    background: #000000;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.api-key-display:hover {
    border-color: #ff6b35;
}

.api-key-display code {
    background: #000000;
    padding: 0.5rem;
    border-radius: 3px;
    font-family: monospace;
    word-break: break-all;
    display: block;
    margin-bottom: 0.5rem;
    color: #ff6b35;
    border: 1px solid #1a1a1a;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #000000;
    border-radius: 5px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #ff6b35;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
}

.stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* Dashboard sections */
.dashboard-section {
    background: #000000;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.dashboard-section:hover {
    border-color: #ff6b35;
}

.dashboard-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.5rem;
}

/* Tracker management */
.tracker-form {
    margin-bottom: 2rem;
}

.trackers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tracker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #000000;
    border-radius: 5px;
    border-left: 4px solid #ff6b35;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.tracker-item:hover {
    border-color: #ff6b35;
}

.tracker-url {
    font-family: monospace;
    word-break: break-all;
}

.no-trackers {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* Forms */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #2a2a2a;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ff6b35;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #3a3a3a;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #2a2a2a;
    color: #e0e0e0;
    height: 48px;
    box-sizing: border-box;
}


.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

/* File input wrapper styles */
.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.file-input-display {
    padding: 0.5rem 0.75rem;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 5px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.file-input-display:hover {
    border-color: #4a4a4a;
    background: #333333;
}

.file-input-display:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
    outline: none;
}

.file-name {
    flex: 1;
    margin-right: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.file-name.selected {
    color: #ff6b35 !important;
    font-weight: bold !important;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

/* Choose File Button - Specific sizing */
.btn.btn-secondary.file-select-btn {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: 24px !important;
    padding: 0.2rem 0.4rem !important;
    margin: 0 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    font-size: 0.7rem !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Search input wrapper styles */
.search-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 5px;
    padding: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input-wrapper:hover {
    border-color: #4a4a4a;
    background: #333333;
}

.search-input-wrapper:focus-within {
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.search-input-wrapper input[type="text"] {
    flex: 1;
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    margin-right: 1rem;
    outline: none;
}

.search-input-wrapper input[type="text"]::placeholder {
    color: #888;
}

.search-btn {
    flex-shrink: 0;
    margin: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #b0b0b0;
    font-size: 0.875rem;
}

/* Upload results styling */
.upload-results {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #2a2a2a;
}

.upload-results h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 0.5rem;
}

.result-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item.result-success {
    background: #1e3a1e;
    border-left-color: #28a745;
}

.result-item.result-error {
    background: #3a1e1e;
    border-left-color: #dc3545;
}

.result-item strong {
    color: #e0e0e0;
    display: block;
    margin-bottom: 0.5rem;
}

.result-item .status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.result-success .status {
    background: #28a745;
    color: #ffffff;
}

.result-error .status {
    background: #dc3545;
    color: #ffffff;
}

.result-item .message {
    color: #b0b0b0;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.result-item .info-hash {
    color: #ff6b35;
    font-size: 0.875rem;
}

.result-item code {
    background: #0a0a0a;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: monospace;
    color: #ff6b35;
    border: 1px solid #3a3a3a;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-links a {
    color: #ff6b35;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Form descriptions */
.form-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Reset info */
.reset-info {
    text-align: center;
    padding: 2rem 0;
}

.reset-info p {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Upload form */
.upload-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin: 0 auto;
    border: 1px solid #2a2a2a;
    height: 254px;
    width: 100%;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upload-form h2 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    text-align: left;
}

.upload-info {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
    border: 1px solid #3a3a3a;
}

.upload-info h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.upload-info ul {
    list-style: none;
    padding-left: 0;
}

.upload-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #3a3a3a;
}

.upload-info li:last-child {
    border-bottom: none;
}

.upload-info li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: #ff6b35;
    color: #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

/* Download form */
.download-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin: 0 auto;
    border: 1px solid #2a2a2a;
    height: 254px;
    width: 100%;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-form h2 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
    text-align: left;
}

/* Torrent details */
.torrent-details {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #2a2a2a;
}

.torrent-details h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 0.5rem;
}

.torrent-info {
    margin-bottom: 2rem;
}

.torrent-info p {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
}

.torrent-card {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #3a3a3a;
}

.torrent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #3a3a3a;
    justify-content: center;
}

.info-hash-display {
    color: #ff6b35;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #2a2a2a;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
}

.info-row {
    padding: 0.75rem;
    background: #2a2a2a;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
}

.info-row code {
    background: #0a0a0a;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: monospace;
    color: #ff6b35;
    border: 1px solid #3a3a3a;
}

.tracker-info {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff6b35;
}

.tracker-info h4 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.tracker-info ul {
    list-style: none;
    padding-left: 0;
}

.tracker-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ff6b35;
    font-family: monospace;
}

.tracker-info li:last-child {
    border-bottom: none;
}

.download-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* API documentation */
.api-section {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    border: 1px solid #2a2a2a;
}

.api-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 0.5rem;
}

.endpoint {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.endpoint:last-child {
    border-bottom: none;
}

.endpoint h4 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.endpoint-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.method {
    background: #28a745;
    color: #e0e0e0;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.875rem;
}

.url {
    background: #2a2a2a;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-family: monospace;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.code-block {
    margin: 1.5rem 0;
}

.code-block h5 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.code-block pre {
    background: #0a0a0a;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #3a3a3a;
    color: #e0e0e0;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.error-codes ul {
    list-style: none;
    padding-left: 0;
}

.error-codes li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #3a3a3a;
}

.error-codes li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background: #000000;
    color: #b0b0b0;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    position: relative;
    z-index: 10;
    clear: both;
    width: 100%;
    display: block;
}

/* Ad Placeholder Styles */
.ad-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px dashed #ff6b35;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ad-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 107, 53, 0.1) 10px,
        rgba(255, 107, 53, 0.1) 20px
    );
    pointer-events: none;
}

.ad-content {
    position: relative;
    z-index: 1;
}

.ad-label {
    color: #ff6b35;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ad-size {
    color: #e0e0e0;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.ad-description {
    color: #cccccc;
    font-size: 0.875rem;
    opacity: 0.8;
}

.ad-network {
    color: #ff6b35;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Specific ad placement styles */
.ad-header {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-sidebar {
    width: 300px;
    height: 600px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-footer {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-inline {
    width: 300px;
    height: 250px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-responsive {
    width: 100%;
    min-height: 250px;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content with Sidebar Layout */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.main-content {
    min-width: 0;
    order: 2;
}

.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 1;
}

.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 3;
}

/* Responsive ad adjustments */
@media (max-width: 1200px) {
    .content-with-sidebar {
        grid-template-columns: 1fr 300px;
        gap: 1.5rem;
    }
    
    .sidebar-left {
        display: none;
    }
    
    .main-content {
        order: 1;
    }
    
    .sidebar-right {
        order: 2;
    }
}

@media (max-width: 768px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar-right {
        display: none;
    }
    
    .ad-header,
    .ad-footer {
        width: 100%;
        height: 60px;
        max-width: none;
    }
    
    .ad-sidebar,
    .ad-inline {
        width: 100%;
        height: 200px;
        max-width: 300px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top: 3px solid #ff6b35;
    padding: 1.5rem 2rem;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    color: #e0e0e0;
}

.cookie-text h4 {
    color: #ff6b35;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: #e0e0e0;
    border: 2px solid #ff6b35;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d44a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cookie-btn.preferences {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.cookie-btn.preferences:hover {
    background: #6c757d;
    color: #000000;
    transform: translateY(-2px);
}

.cookie-btn.reject {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.cookie-btn.reject:hover {
    background: #dc3545;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 650px;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.cookie-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cookie-modal-header h3 {
    color: #ff6b35;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cookie-modal-header p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1.5rem;
    min-height: 80px;
}

.cookie-option-info p {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    max-width: 400px;
}

.cookie-option-info h4 {
    color: #e0e0e0;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-option-info h4::before {
    content: '🔒';
    font-size: 0.9rem;
    opacity: 0.7;
}

.cookie-option.active h4::before {
    content: '✅';
    opacity: 1;
}

.cookie-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: #2a2a2a;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #444444;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.cookie-toggle.active {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-color: #ff6b35;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 107, 53, 0.3);
}

.cookie-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #444444 0%, #555555 100%);
    border-radius: 14px;
    transition: opacity 0.3s ease;
}

.cookie-toggle.active::before {
    opacity: 0;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-toggle.active::after {
    transform: translateX(28px);
}

.cookie-toggle:hover {
    transform: scale(1.02);
}

.cookie-toggle:hover::after {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(255, 255, 255, 0.3);
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .cookie-option {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .torrent-info {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .tracker-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .storage-grid {
        grid-template-columns: 1fr;
    }
    
    .storage-badge {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .storage-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .storage-icon {
        font-size: 1.5rem;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .action-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .auth-form {
        margin: 0 15px;
    }
    
    .upload-form,
    .download-form {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .action-card {
        max-width: 100%;
        margin: 0 15px;
    }
}

/* Storage location display */
.storage-location {
    background: #e7f3ff !important;
    border-left: 4px solid #ff6b35;
}

.storage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff6b35;
    color: #e0e0e0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.storage-location small {
    display: block;
    margin-top: 0.5rem;
    color: #6c757d;
    font-style: italic;
}

/* Storage results */
.storage-results {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.storage-results h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.storage-summary {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.storage-item {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
    background: #f8f9fa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.storage-item.success {
    border-left-color: #28a745;
    background: #d4edda;
}

.storage-item.error {
    border-left-color: #dc3545;
    background: #f8d7da;
}

.storage-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.storage-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.storage-info {
    flex: 1;
}

.storage-type {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #495057;
}

.storage-description {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

.storage-status {
    margin-bottom: 0.75rem;
}

.status-success {
    color: #155724;
    font-weight: bold;
}

.status-error {
    color: #721c24;
    font-weight: bold;
}

.status-warning {
    color: #856404;
    font-weight: bold;
}

.storage-message {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
}

.storage-path {
    font-size: 0.8rem;
    color: #495057;
    font-family: monospace;
    background: rgba(255,255,255,0.8);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #ff6b35;
}

.storage-summary-footer {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 5px;
    border-top: 2px solid #dee2e6;
}

.storage-summary-footer p {
    margin: 0;
    color: #495057;
}

.storage-summary-footer .status-success,
.storage-summary-footer .status-warning,
.storage-summary-footer .status-error {
    margin-left: 0.5rem;
}

