/* Client Area Styles */

/* Client Body */
.client-body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: var(--light-text);
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Client Header */
.client-header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.client-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.client-logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
}

.client-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--gray-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.client-nav a:hover,
.client-nav a.active {
    color: var(--light-text);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.client-nav a i {
    font-size: 0.875rem;
}

.client-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-user span {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.logout-btn {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
}

/* Client Main */
.client-main {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
}

.client-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.page-title h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title p {
    color: var(--gray-text);
    font-size: 1rem;
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-text);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.card-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.card-change.positive {
    color: #10b981;
}

.card-change.negative {
    color: #ef4444;
}

.card-change.neutral {
    color: var(--gray-text);
}

.card-change.warning {
    color: #f59e0b;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--light-text);
}

.card-content {
    padding: 1.5rem;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.service-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.service-info p {
    color: var(--gray-text);
    font-size: 0.875rem;
    margin: 0;
}

.service-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.service-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Invoices List */
.invoices-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.invoice-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.invoice-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.invoice-info p {
    color: var(--gray-text);
    font-size: 0.875rem;
    margin: 0;
}

.invoice-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.invoice-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.suspended {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.cancelled {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-badge.paid {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.unpaid {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.action-btn span {
    font-weight: 500;
    text-align: center;
}

/* Account Information */
.account-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.info-value {
    color: var(--light-text);
    font-weight: 600;
}

/* Activity Timeline */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.activity-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.25rem 0;
}

.activity-content p {
    color: var(--gray-text);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.activity-time {
    color: var(--gray-text);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-text);
}

.empty-state p {
    color: var(--gray-text);
    font-size: 1rem;
    margin: 0;
}

/* Client Login Styles */
.client-login-body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: var(--light-text);
    font-family: 'Rajdhani', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.login-card {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.login-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.login-logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.login-header p {
    color: var(--gray-text);
    font-size: 1rem;
    margin: 0;
}

/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: var(--light-text);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dark-bg);
    font-size: 0.75rem;
}

/* Buttons */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Login Footer */
.login-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.forgot-link,
.back-link {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.forgot-link:hover,
.back-link:hover {
    color: var(--light-text);
}

/* Login Help */
.login-help {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-help h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    margin: 0 0 0.5rem 0;
}

.login-help p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

/* Login Header and Footer Styles */
.login-header-main {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.login-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-header-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.login-header-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.login-header-text p {
    color: var(--gray-text);
    font-size: 0.8rem;
    margin: 0;
}

.login-header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.header-nav-link:hover {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.05);
}

.header-nav-link.client-link {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.header-nav-link.client-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

.header-nav-link.admin-link {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-color);
}

.header-nav-link.admin-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
}

/* Login Footer */
.login-footer-main {
    background: rgba(15, 15, 15, 0.95);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
}

.login-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.login-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.login-footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0 0 1rem 0;
}

.login-footer-section p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.login-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-footer-section ul li {
    margin-bottom: 0.5rem;
}

.login-footer-section ul li a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-footer-section ul li a:hover {
    color: var(--light-text);
}

.login-footer-section ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 16px;
}

.login-footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.login-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
}

.login-footer-bottom p {
    color: var(--gray-text);
    font-size: 0.8rem;
    margin: 0;
}

.login-footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer-bottom a:hover {
    text-decoration: underline;
}

/* Adjust login container for header */
.admin-login-body .login-container {
    margin-top: 100px;
}

.client-login-body .login-container {
    margin-top: 100px;
}

/* Responsive Design */

/* Login Header and Footer Responsive */
@media (max-width: 768px) {
    .login-header-container {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .login-header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .login-footer-container {
        padding: 0 1rem;
    }

    .login-footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .login-footer-social {
        justify-content: center;
    }

    .admin-login-body .login-container,
    .client-login-body .login-container {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .login-header-text h1 {
        font-size: 1rem;
    }

    .login-header-text p {
        font-size: 0.7rem;
    }

    .header-nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .header-nav-link span {
        display: none;
    }

    .login-footer-section h4 {
        font-size: 1rem;
    }

    .login-footer-section p {
        font-size: 0.8rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}
@media (max-width: 768px) {
    .client-nav-container {
        padding: 0 1rem;
        flex-direction: column;
        height: auto;
        gap: 1rem;
        padding: 1rem;
    }

    .client-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .client-container {
        padding: 0 1rem;
    }

    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .page-actions {
        width: 100%;
        justify-content: space-between;
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 2rem;
    }

    .login-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .client-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .overview-card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .card-value {
        font-size: 1.5rem;
    }

    .login-card {
        padding: 1.5rem;
    }
} 