* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 900;
    background-color: #0E1117;
    color: #ffffff;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, div, span, label, input, select, button, a, option {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Navigation Header */
.nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
}

.nav-header.visible {
    display: flex;
}

.back-button {
    background-color: #2d3943;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: #00B4D8;
    color: #000000;
    transform: translateY(-1px);
}

.refresh-button {
    background-color: #00B4D8;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.employees-list, .applications-list, .stock-list, .news-list, .training-list {
    padding-right: 8px !important;
}

.refresh-button:hover {
    background-color: #0099B3;
    transform: translateY(-1px);
}

.refresh-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.admin-button {
    background-color: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-button:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
}

.logout-button {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-button:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* Auth sections */
.auth-section {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    border: none;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 900;
}

.security-info {
    background-color: #1B1F27;
    border: 1px solid #00B4D8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.security-info p {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.security-info .lock-icon {
    color: #00B4D8;
    font-size: 1.1rem;
    margin-right: 6px;
}

.landing-section {
    display: none;
}

.landing-section.visible {
    display: block;
}

.welcome-header {
    text-align: center;
    margin-bottom: 50px;
}

.user-avatar {
    margin-bottom: 20px;
}

.avatar-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00B4D8;
    object-fit: cover;
    background-color: #2d3943;
}

.welcome-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card.active {
    cursor: pointer;
    transform: translateY(0);
}

.feature-card.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.2);
    border: 2px solid #00B4D8;
}

.feature-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
}

.feature-card.active h3 {
    color: #00B4D8;
}

.feature-card.active:hover h3 {
    color: #ffffff;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* Dashboard Section */
.dashboard-section {
    display: none;
}

.dashboard-section.visible {
    display: block;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.dashboard-card {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 25px;
    border: none;
}

.dashboard-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: #00B4D8;
    margin-bottom: 20px;
    text-align: center;
}

/* Progress Bars */
.progress-item {
    margin-bottom: 18px;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar {
    position: relative;
    height: 24px;
    background-color: #2d3943;
    border-radius: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill.energy {
    background: linear-gradient(90deg, #28a745, #34ce57);
}

.progress-fill.nerve {
    background: linear-gradient(90deg, #dc3545, #ff4757);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.time-remaining {
    font-size: 0.8rem;
    color: #00B4D8;
    font-weight: 900;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background-color: #2d3943;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 900;
}

/* Info Items */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2d3943;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 900;
}

.info-value {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 900;
}

/* Cooldown Items */
.cooldown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2d3943;
}

.cooldown-item:last-child {
    border-bottom: none;
}

.cooldown-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 900;
}

.cooldown-time {
    font-size: 0.9rem;
    font-weight: 900;
}

.cooldown-time.ready {
    color: #28a745;
}

.cooldown-time.active {
    color: #00B4D8;
}

/* Company Dashboard Section */
.company-section {
    display: none;
}

.company-section.visible {
    display: block;
}

.company-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-header h1 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.company-management {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: none;
}

.companies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.company-card {
    background-color: #2d3943;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
}

.company-card:hover {
    background-color: #3a4551;
    transform: translateY(-2px);
}

.company-card.active {
    border: 2px solid #00B4D8;
    background-color: #1e3a3a;
}

.company-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.company-card.disabled:hover {
    background-color: #2d3943;
    transform: none;
}

.company-card h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.company-card p {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.action-btn {
    background-color: #00B4D8;
    color: #000000;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #0099B3;
}

.action-btn.danger {
    background-color: #ff4444;
    color: #ffffff;
}

.action-btn.danger:hover {
    background-color: #cc0000;
}

.add-company-form {
    background-color: #2d3943;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    display: none;
}

.add-company-form.visible {
    display: block;
}

.add-company-form h4 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #00B4D8;
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 18px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

/* Company Dashboard Cards */
.company-dashboard {
    display: none;
    margin-top: 25px;
}

.company-dashboard.visible {
    display: block;
}

.company-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #1B1F27;
    border-radius: 12px;
}

.company-dashboard-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-dashboard-title h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.company-rating {
    background-color: #00B4D8;
    color: #000000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 900;
}

.dashboard-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.historical-selector {
    background-color: #2d3943;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
}

.historical-selector:focus {
    outline: none;
    border: 2px solid #00B4D8;
}

.send-discord-btn {
    background-color: #7289da;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.send-discord-btn:hover {
    background-color: #5b6eae;
    transform: translateY(-1px);
}

.send-discord-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.company-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.company-dash-card {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 20px;
    border: none;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.company-dash-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.15);
}

.company-dash-card.selected {
    border: 2px solid #00B4D8;
    background-color: #1e2832;
}

.card-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 18px;
    height: 18px;
    accent-color: #00B4D8;
    cursor: pointer;
    z-index: 10;
}

.card-checkbox::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    bottom: -8px;
    left: -8px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.2s ease;
}

.card-checkbox:hover::before {
    opacity: 1;
}

.company-dash-card:hover .card-checkbox::before {
    opacity: 0.5;
}

/* Add tooltip style */
.card-checkbox[title]:hover::after {
    content: attr(title);
    position: absolute;
    top: -35px;
    right: -10px;
    background: #1B1F27;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #00B4D8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #00B4D8;
    margin-bottom: 15px;
    margin-right: 30px;
}

/* Hide the Discord label - instructions at top are sufficient */
.discord-selection-label {
    display: none;
}

.card-value {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 600;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.card-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #2d3943;
    font-size: 0.85rem;
}

.card-stat:last-child {
    border-bottom: none;
}

.card-stat-label {
    color: #cccccc;
    font-weight: 600;
}

.card-stat-value {
    color: #ffffff;
    font-weight: 900;
}

.warnings-list {
    max-height: 200px;
    overflow-y: auto;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background-color: #2d3943;
    border-radius: 6px;
    font-size: 0.85rem;
}

.warning-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
}

.warning-icon.high {
    background-color: #ff4444;
    color: #ffffff;
}

.warning-icon.medium {
    background-color: #ffaa00;
    color: #000000;
}

.warning-text {
    flex: 1;
    color: #ffffff;
    font-weight: 600;
}

/* Admin Panel Styles */
#adminSection {
    display: none;
}

#adminSection.visible {
    display: block;
}

.users-table {
    background-color: #1B1F27;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    margin-bottom: 20px;
}

.users-table .table-header {
    background-color: #2d3943;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr;
    gap: 18px;
    padding: 12px 28px;
    font-weight: 900;
    color: #00B4D8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

.user-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 2fr;
    gap: 18px;
    padding: 12px 28px;
    border-bottom: 1px solid #2d3943;
    transition: background-color 0.2s ease;
    font-weight: 700;
    font-size: 0.9rem;
    align-items: center;
}

.user-row:hover {
    background-color: #242d36;
}

.user-row:last-child {
    border-bottom: none;
}

.user-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.user-status.active {
    background-color: #28a745;
    color: #ffffff;
}

.user-status.banned {
    background-color: #ff4444;
    color: #ffffff;
}

.user-role {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
}

.user-role.admin {
    background-color: #00B4D8;
    color: #000000;
}

.user-role.user {
    background-color: #6c757d;
    color: #ffffff;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.action-btn-small {
    background-color: #00B4D8;
    color: #000000;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn-small:hover {
    background-color: #0099B3;
}

.action-btn-small.danger {
    background-color: #ff4444;
    color: #ffffff;
}

.action-btn-small.danger:hover {
    background-color: #cc0000;
}

.action-btn-small.success {
    background-color: #28a745;
    color: #ffffff;
}

.action-btn-small.success:hover {
    background-color: #218838;
}

.news-list {
    max-height: 250px;
    overflow-y: auto;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #2d3943;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.75rem;
    color: #00B4D8;
    font-weight: 900;
    margin-bottom: 5px;
}

.news-text {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 600;
    line-height: 1.4;
}

/* Search Section */
.search-section {
    background-color: #1B1F27;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: none;
    display: none;
}

.search-section.visible {
    display: block;
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h1 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.checkbox-group {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
    padding: 8px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00B4D8;
}

.checkbox-group label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
}

.select {
    background-color: #2d3943;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 15px;
    padding-right: 38px;
}

.select:focus {
    outline: none;
    border: 2px solid #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.select option {
    background-color: #2d3943;
    color: #ffffff;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    border: none;
    padding: 8px;
}

/* Results Section */
.results-section {
    display: none;
}

.results-section.visible {
    display: block;
}

.results-header {
    background-color: #1B1F27;
    border-radius: 12px 12px 0 0;
    padding: 18px 28px;
    border: none;
    border-bottom: none;
    text-align: center;
}

.results-header h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
}

.results-table {
    background-color: #1B1F27;
    border-radius: 0 0 12px 12px;
    border: none;
    overflow: hidden;
}

.table-header {
    background-color: #2d3943;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1fr;
    gap: 18px;
    padding: 12px 28px;
    font-weight: 900;
    color: #00B4D8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr 1fr;
    gap: 18px;
    padding: 12px 28px;
    border-bottom: 1px solid #2d3943;
    transition: background-color 0.2s ease;
    font-weight: 900;
    font-size: 0.9rem;
}

.table-row:hover {
    background-color: #242d36;
}

.table-row:last-child {
    border-bottom: none;
}

.profile-btn {
    background-color: #00B4D8;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.profile-btn:hover {
    background-color: #0099B3;
    transform: translateY(-1px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
}

.pagination button {
    background-color: #2d3943;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
    background-color: #00B4D8;
    color: #000000;
    border-color: #00B4D8;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .current-page {
    background-color: #00B4D8;
    color: #000000;
    border-color: #00B4D8;
}

.pagination span {
    color: #ffffff;
    font-weight: 900;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #ffffff;
    font-weight: 900;
}

.error {
    background-color: #ff4444;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 900;
}

.success {
    background-color: #00B4D8;
    color: #000000;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 900;
}

.form-input {
    background-color: #242933;
    border: 1px solid #404854;
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-input:hover {
    border-color: #00B4D8;
    background-color: #2a3441;
}

.form-input:hover {
    border-color: #5a6571;
    background-color: #343e4b;
}

.form-input:focus {
    outline: none;
    border: 2px solid #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.btn {
    background-color: #00B4D8;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
}

.btn:hover {
    background-color: #0099B3;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 900;
}

.btn-secondary {
    background-color: #2d3943;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #3a4551;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .container {
        padding: 20px 10px;
    }

    .nav-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .nav-header .back-button,
    .nav-header .admin-button {
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .dashboard-header h1 {
        text-align: center;
    }

    .company-cards-grid {
        grid-template-columns: 1fr;
    }

    .companies-list {
        grid-template-columns: 1fr;
    }

    .company-dashboard-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .user-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .user-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .action-btn-small {
        min-width: 70px;
    }
    .dashboard-controls {
        justify-content: center;
    }

    /* Admin Panel Mobile Styles */
    .users-table .table-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .user-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .user-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .action-btn-small {
        min-width: 70px;
    }
}

/* Premium Status Card Styles */
.premium-status-card {
    background: linear-gradient(135deg, #1B1F27 0%, #2d3943 100%);
    border: 2px solid #00B4D8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.premium-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.premium-icon {
    font-size: 1.5rem;
}

.premium-status-header h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #00B4D8;
    margin: 0;
}

.premium-active .premium-message {
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.premium-inactive .premium-message {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.premium-expires, .premium-remaining {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.premium-expires span, .premium-remaining span {
    color: #00B4D8;
    font-weight: 900;
}

.premium-info {
    color: #cccccc;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 5px;
}

/* Premium Time Modal Styles */
.premium-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.premium-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-modal-content {
    background: linear-gradient(135deg, #1B1F27 0%, #2d3943 100%);
    border: 2px solid #00B4D8;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
}

.premium-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #445566;
}

.premium-modal-title {
    color: #00B4D8;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
}

.premium-modal-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.premium-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.premium-modal-body {
    margin-bottom: 25px;
}

.premium-user-info {
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid #00B4D8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.premium-user-name {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.premium-user-id {
    color: #00B4D8;
    font-size: 0.9rem;
}

.premium-form-group {
    margin-bottom: 20px;
}

.premium-form-group label {
    display: block;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.premium-form-input {
    width: 100%;
    padding: 12px;
    background: #1B1F27;
    border: 2px solid #445566;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.premium-form-input:focus {
    outline: none;
    border-color: #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.premium-current-status {
    background: rgba(68, 85, 102, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.premium-current-status h4 {
    color: #00B4D8;
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.premium-status-active {
    color: #28a745;
    font-weight: 700;
}

.premium-status-inactive {
    color: #cccccc;
}

.premium-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.premium-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.premium-btn-primary {
    background: linear-gradient(135deg, #00B4D8 0%, #0077B6 100%);
    color: #ffffff;
}

.premium-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #0077B6 0%, #005577 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}

.premium-btn-secondary {
    background: #445566;
    color: #ffffff;
}

.premium-btn-secondary:hover {
    background: #556677;
}

.premium-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-btn.premium-btn-small {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 12px;
}

.action-btn.premium-btn-small:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.premium-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.premium-bonus-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #ffd700;
    border-radius: 12px;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: slideInRight 0.5s ease-out;
}

.premium-bonus-content {
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}

.premium-icon {
    font-size: 2rem;
    margin-right: 15px;
    animation: bounce 2s infinite;
}

.premium-text h3 {
    margin: 0 0 8px 0;
    color: #ffd700;
    font-size: 1.2rem;
}

.premium-text p {
    margin: 4px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}