:root {
    --primary-color: #FFB81C;
    --secondary-color: #2B2B2B;
    --text-color: #333333;
    --background-color: #f5f5f5;
    --white: #ffffff;
    --sidebar-width: 250px;
    --header-height: 60px;
    --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
    --content-max-width: 1400px;
    --yellow-hover: #ffa500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.logo {
    width: 150px;
    margin-bottom: 30px;
}

h1 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

.microsoft-btn {
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid #ccc;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.microsoft-btn:hover {
    background-color: #f5f5f5;
}

.microsoft-btn img {
    width: 20px;
    height: 20px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--secondary-color);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: fixed;
    height: 100vh;
    transition: transform var(--transition-speed) ease;
    z-index: 100;
    color: var(--white);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-header h1 {
    color: var(--primary-color);
    margin-top: 15px;
}

.sidebar-header .logo {
    width: 120px;
    margin-bottom: 10px;
    filter: brightness(1.2);
}

.sidebar-nav {
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    transition: all var(--transition-speed) ease;
}

.nav-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.nav-item:hover {
    background-color: rgba(255, 184, 28, 0.1);
    color: var(--primary-color);
}

.nav-item.active {
    background-color: rgba(255, 184, 28, 0.15);
    color: var(--primary-color);
}

/* Create Ticket Menu Item */
.nav-item.create-ticket {
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 13px; /* 15px - 2px border */
    font-weight: 500;
}

.nav-item.create-ticket i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.nav-item.create-ticket:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.create-ticket.active {
    background: rgba(255, 184, 28, 0.15);
    color: var(--primary-color);
}

.user-info {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin-top: auto;
    gap: 15px;
}

.user-details-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 1;
    background-color: #e0e0e0;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--primary-color);
}

.user-email {
    font-size: 12px;
    color: var(--white);
    opacity: 0.8;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.logout-btn i {
    font-size: 14px;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 30px;
    background-color: var(--background-color);
    transition: margin-left var(--transition-speed) ease;
    width: calc(100% - var(--sidebar-width));
}

.content-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    width: 100%;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.card p {
    margin-bottom: 20px;
    color: #666;
}

.btn-primary, .btn-secondary, .btn-emergency {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1em;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.btn-emergency {
    background-color: #dc3545;
    color: var(--white);
}

.btn-emergency:hover {
    background-color: #c82333;
}

.subscription-info, .help-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card, .help-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.info-card h3, .help-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.subscription-details {
    margin: 20px 0;
}

.subscription-details p {
    margin-bottom: 10px;
    color: #666;
}

.search-box {
    position: relative;
    margin: 30px 0;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
    outline: none;
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.guide-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.guide-card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.3em;
}

.guide-card ul {
    list-style: none;
}

.guide-card li {
    margin-bottom: 12px;
}

.guide-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-card a:hover {
    color: #004494;
    text-decoration: underline;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    color: #666;
    font-size: 0.8rem;
}

/* Guide Article */
.guide-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 184, 28, 0.1);
    color: var(--primary-color);
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-tag i {
    font-size: 0.9rem;
}

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.article-date i {
    font-size: 0.9rem;
}

.article-header h1 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 0;
    line-height: 1.3;
}

.article-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.article-content h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--yellow-hover);
}

.back-link i {
    transition: transform 0.2s;
}

.back-link:hover i {
    transform: translateX(-4px);
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Article Footer */
.feedback-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.btn-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-feedback:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

/* Welcome Section */
.welcome-section {
    padding: 2rem 0;
}

.welcome-header {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: #666;
}

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

.quick-actions h2,
.section-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.quick-action-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quick-action-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-action-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quick-action-card p {
    color: #666;
    font-size: 0.9rem;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.quick-action-card.emergency i {
    color: #dc3545;
}

/* Latest Articles */
.latest-articles {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-date,
.article-category {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 500;
}

.article-date {
    background: #e8f5e9;
    color: #2e7d32;
}

.article-category {
    background: #e3f2fd;
    color: #1976d2;
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.article-card p {
    color: #666;
    font-size: 0.9rem;
}

/* System Status */
.system-status {
    margin-bottom: 2rem;
}

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

.status-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-card.operational i {
    color: #2e7d32;
    font-size: 1.5rem;
}

.status-card.warning i {
    color: #f57c00;
}

.status-card.error i {
    color: #d32f2f;
}

.status-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.status-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Process Cards */
.process-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.process-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.process-card .status-info {
    flex: 1;
}

.process-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.process-card p {
    color: #666;
    margin-bottom: 1rem;
}

.process-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.process-link:hover {
    color: var(--yellow-hover);
}

.process-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.process-link:hover i {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .welcome-header h1 {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .quick-actions-grid,
    .articles-grid,
    .status-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .burger-menu {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
        padding-top: 70px;
        width: 100%;
    }

    .main-content.sidebar-active {
        margin-left: var(--sidebar-width);
    }

    .content-container {
        padding: 0 15px;
    }

    /* Overlay when sidebar is active */
    .sidebar.active + .main-content::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    /* Animate burger menu */
    .burger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .card-grid, .subscription-info, .guides-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card, .help-card {
        padding: 20px;
    }

    .user-info {
        padding: 10px;
    }

    .logout-btn span {
        display: none;
    }

    .logout-btn {
        padding: 8px;
        justify-content: center;
    }

    .logout-btn i {
        margin: 0;
    }

    .guide-article {
        padding: 1rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .feedback-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--text-color);
}

.modal-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 10px;
}

.modal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

/* Help Page Styles */
#articlesContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.category-section {
    margin-bottom: 0;
    padding: 1.25rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.category-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.articles-list li {
    margin-bottom: 0.5rem;
}

.articles-list a {
    color: #0066cc;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.articles-list a:hover {
    background-color: #f5f5f5;
    color: #004d99;
}

.empty-category {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.search-box {
    margin-bottom: 2rem;
    position: relative;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #articlesContainer {
        grid-template-columns: 1fr;
    }
    
    .category-section {
        margin-bottom: 1rem;
    }
}

/* Article Detail Styles */
.article-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 1rem;
}

.back-link i {
    margin-right: 0.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.article-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Processes Page Styles */
.section-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.processes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.process-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.process-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-content {
    flex: 1;
}

.process-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.process-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-steps {
    margin-top: 1rem;
}

.process-steps h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-steps ol {
    padding-left: 1.5rem;
    margin: 0;
}

.process-steps li {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Responsive adjustments for processes */
@media (max-width: 768px) {
    .processes-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        margin-bottom: 1rem;
    }
}

/* Subscription Page Styles */
.subscription-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subscription-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.subscription-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
}

.subscription-title {
    flex: 1;
}

.subscription-title h3 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.inactive {
    background-color: #ffebee;
    color: #c62828;
}

.status-badge.pending {
    background-color: #fff3e0;
    color: #ef6c00;
}

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

.detail-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

.detail-group h4 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.detail-group p {
    color: #666;
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.detail-group strong {
    color: var(--secondary-color);
}

.no-subscription {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.no-subscription i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.no-subscription p {
    color: #666;
    margin: 0.5rem 0;
}

/* Subscription Overlay */
.subscription-overlay {
    position: absolute;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    margin: 0 1rem;
}

.overlay-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.overlay-content h3 {
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.overlay-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Sites Page Styles */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.site-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.site-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.site-content {
    flex: 1;
}

.site-content h3 {
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.site-details {
    color: #666;
}

.site-details p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.site-details i {
    color: var(--primary-color);
    width: 1.25rem;
    text-align: center;
}

/* Request Types Grid */
.request-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.request-type-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: center;
}

.request-type-card:hover {
    transform: translateY(-5px);
}

.request-type-icon {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.request-type-card h3 {
    margin: 1rem 0;
    color: #2d3748;
}

.request-type-card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Request Form */
.request-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    position: relative;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #e9ecef;
}

.step-number {
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 auto 0.5rem;
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: #0d6efd;
    color: white;
}

.step-info {
    text-align: center;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.progress-step.active .step-title {
    color: #0d6efd;
}

.step-description {
    font-size: 0.75rem;
    color: #adb5bd;
    margin: 0;
}

.form-step {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #4299e1;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Request Details */
.request-details {
    max-width: 800px;
    margin: 0 auto;
}

.request-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.request-title h1 {
    margin: 0;
    font-size: 1.75rem;
    color: #2d3748;
}

.request-id {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.request-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
}

.info-item i {
    color: #718096;
    width: 16px;
    text-align: center;
}

.info-item .email {
    color: #718096;
}

.request-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.request-status.draft {
    background: #e2e8f0;
    color: #4a5568;
}

.request-status.submitted {
    background: #ebf8ff;
    color: #2b6cb0;
}

.request-status.in_progress {
    background: #faf089;
    color: #975a16;
}

.request-status.completed {
    background: #c6f6d5;
    color: #2f855a;
}

.request-status.rejected {
    background: #fed7d7;
    color: #c53030;
}

.request-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.request-section h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.request-field label {
    display: block;
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.field-value {
    color: #2d3748;
    font-weight: 500;
}

/* My Requests */
.requests-list {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.requests-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.requests-table table {
    width: 100%;
    border-collapse: collapse;
}

.requests-table th,
.requests-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.requests-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #4a5568;
}

.request-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Request Form Summary */
.summary-section {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.summary-header {
    margin-bottom: 2rem;
    text-align: center;
}

.summary-header h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.summary-header p {
    color: #718096;
}

.summary-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 6px;
}

.summary-group h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-fields {
    display: grid;
    gap: 1rem;
}

.summary-field {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
}

.summary-field label {
    font-weight: 500;
    color: #4a5568;
}

.summary-field span {
    color: #2d3748;
}

.summary-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.summary-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ticket Creation Page Styles */
.ticket-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.info-text {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.ticket-section {
    margin-bottom: 3rem;
}

.ticket-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.ticket-option {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.ticket-option h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.ticket-option p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.critical-support {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff3f3;
    border-radius: 8px;
    border-left: 4px solid #ff4d4d;
}

.critical-support h2 {
    color: #ff4d4d;
    margin-bottom: 1rem;
}

.critical-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.critical-option {
    background-color: white;
    padding: 1.25rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.critical-option h3 {
    color: #333;
    margin-bottom: 0.75rem;
}

.critical-option p {
    color: #666;
    margin-bottom: 0.75rem;
}

.critical-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.critical-option li {
    margin-bottom: 0.5rem;
}

.critical-option a {
    color: #0066cc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.critical-option a:hover {
    text-decoration: underline;
}

.critical-option a::before {
    content: "📞";
    font-size: 1.1em;
}

/* On/Off Boardings Page Styles */
.onoffboardings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.onoffboardings-search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.onoffboardings-search .input-group {
    width: 300px;
}

.onoffboardings-search .input-group input {
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.onoffboardings-search button {
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
}

.onoffboardings-search button:hover {
    background-color: #e9ecef;
    color: #2c3e50;
}

.onoffboardings-show-all {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
}

.onoffboardings-show-all:hover {
    background-color: #e9ecef;
    color: #2c3e50;
    text-decoration: none;
}

.onoffboardings-table {
    margin-bottom: 0;
    width: 100%;
}

.onoffboardings-table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 12px 15px;
}

.onoffboardings-table td {
    padding: 15px;
    vertical-align: middle;
    color: #2c3e50;
    border-bottom: 1px solid #e9ecef;
}

.onoffboardings-table tbody tr:hover {
    background-color: #f8f9fa;
}

.type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.onboarding {
    background-color: #e3fcef;
    color: #00a854;
}

.type-badge.offboarding {
    background-color: #fff1f0;
    color: #f5222d;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.waiting {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-badge.ongoing {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-badge.finished {
    background-color: #f6ffed;
    color: #52c41a;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #f0f2f5;
    color: #2c3e50;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background-color: #e4e6e9;
    color: #2c3e50;
    text-decoration: none;
}

.view-btn i {
    margin-right: 6px;
    font-size: 0.875rem;
}

/* On/Off Boarding Details Page */
.onoffboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.status-actions {
    min-width: 200px;
}

.status-select {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    background-color: #f8f9fa;
}

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

.detail-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.detail-label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.detail-value {
    display: block;
    color: #2c3e50;
}

/* Two Column Layout */
.content-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.checklist-section {
    grid-column: 1;
}

.comments-section {
    grid-column: 2;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist-item {
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
}

.checklist-item.completed {
    background-color: #f8f9fa;
    border-left: 4px solid #28a745;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.item-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.checklist-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.item-completion {
    font-size: 0.8rem;
    color: #6c757d;
}

.item-notes {
    margin-top: 0.25rem;
    padding: 0.5rem;
    background-color: #fff3cd;
    border-radius: 4px;
    font-size: 0.85rem;
}

.comments-section {
    margin-bottom: 2rem;
}

.comments-list {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff8e1;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.2s ease;
}

.comment:hover {
    transform: rotate(0deg);
}

.comment::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #f5f5f5 transparent transparent;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.comment-author {
    font-weight: bold;
    color: #2c3e50;
}

.comment-date {
    color: #6c757d;
    font-size: 0.8rem;
}

.comment-body {
    color: #2c3e50;
    line-height: 1.4;
    text-align: left;
}

.audit-log-section {
    margin-top: 2rem;
    grid-column: 1 / -1;
}

.audit-log {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.audit-log-item {
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audit-log-item:last-child {
    border-bottom: none;
}

.log-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.log-user {
    font-weight: 500;
    color: #2c3e50;
}

.log-date {
    color: #6c757d;
    font-size: 0.8rem;
}

.log-action {
    flex: 1;
    color: #495057;
}

.log-changes {
    color: #6c757d;
    font-style: italic;
    font-size: 0.8rem;
}

/* Admin Requests Page */
.admin-requests-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-requests-filters {
    flex: 1;
    max-width: 600px;
}

.search-form .input-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-form input,
.search-form select {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-form input {
    flex: 1;
}

.search-form select {
    min-width: 150px;
}

.search-form button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-form button:hover {
    background-color: var(--yellow-hover);
}

.admin-requests-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.admin-requests-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-requests-table th,
.admin-requests-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.admin-requests-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #6c757d;
}

.admin-requests-table tr:hover {
    background-color: #f8f9fa;
}

.btn-jira-transfer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #0052cc;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.btn-jira-transfer:hover {
    background-color: #0065ff;
    color: white;
    text-decoration: none;
}

.btn-jira-transfer i {
    font-size: 0.8rem;
}

.exported-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #e6f4ea;
    color: #1e7e34;
    border-radius: 4px;
    font-size: 0.9rem;
}

.exported-info i {
    color: #1e7e34;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem !important;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
}

/* Fix for pagination arrows */
.pagination .page-link svg {
    width: 16px;
    height: 16px;
}

/* Phone & Subscription Management Styles */
.management-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.management-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.header-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 184, 28, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
}

.card-header h2 {
    margin: 0;
    color: var(--secondary-color);
}

.points-display {
    background: rgba(255, 184, 28, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.points-value {
    font-weight: bold;
    color: var(--secondary-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-color);
    opacity: 0.7;
}

.detail-value {
    font-weight: 500;
    color: var(--secondary-color);
}

.points-activity {
    margin-top: 2rem;
}

.activity-list {
    margin: 1rem 0;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.activity-date {
    color: var(--text-color);
    opacity: 0.7;
    width: 100px;
}

.activity-points {
    font-weight: 500;
}

.activity-points.positive {
    color: #28a745;
}

.activity-points.negative {
    color: #dc3545;
}

.subscription-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.subscription-status.active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.view-all-activity {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .management-grid {
        grid-template-columns: 1fr;
    }
}

/* Phone Preview Styles */
.phone-preview {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 184, 28, 0.05);
    border-radius: 12px;
}

.phone-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.phone-image:hover {
    transform: scale(1.05);
}

/* Phone Content Layout */
.phone-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin: 2rem 0;
    align-items: center;
}

.phone-preview {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 184, 28, 0.05);
    border-radius: 12px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.phone-image:hover {
    transform: scale(1.05);
}

.phone-details {
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
    .phone-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .phone-preview {
        margin-bottom: 1rem;
    }
}

/* Order New Phone Section */
.order-new-phone {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.order-new-phone h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.available-phones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.phone-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.phone-card .phone-image {
    max-width: 150px;
    height: auto;
    margin-bottom: 0.5rem;
}

.phone-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin: 0;
}

.phone-points {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 184, 28, 0.1);
    border-radius: 20px;
}

.purchase-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.purchase-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 1200px) {
    .available-phones {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .available-phones {
        grid-template-columns: 1fr;
    }
}

/* Domains Table Styles */
.domains-table {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.domains-table table {
    width: 100%;
    border-collapse: collapse;
}

.domains-table th {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 500;
    text-align: left;
    padding: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domains-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    text-align: left;
}

.domains-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.domains-table tbody tr:hover {
    background-color: transparent;
}

.domains-table .user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.domains-table .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.domains-table .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.domains-table .status-ok {
    background-color: #28a745;
    color: white;
}

.domains-table .status-syncing {
    background-color: #17a2b8;
    color: white;
}

.domains-table .status-not-syncing {
    background-color: #ffc107;
    color: black;
}

.domains-table .status-error {
    background-color: #dc3545;
    color: white;
}

.domains-table .btn-show {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.domains-table .btn-show:hover {
    background-color: var(--yellow-hover);
    color: var(--white);
}

.domains-table .btn-show i {
    font-size: 0.8rem;
    color: var(--white);
}

.domains-search {
    margin-bottom: 2rem;
}

.domains-search .search-form {
    max-width: 500px;
}

.domains-search .search-input-group {
    display: flex;
    gap: 0.5rem;
}

.domains-search .search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.domains-search .search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.domains-search .search-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.domains-search .search-button:hover {
    background-color: var(--yellow-hover);
}

.domains-search .search-button i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .domains-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .domains-table th,
    .domains-table td {
        white-space: nowrap;
        padding: 0.75rem;
    }

    .domains-search .search-form {
        max-width: 100%;
    }
}

/* Domain Table Styles */
.owner-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.owner-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.owner-avatar.placeholder {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.875rem;
}

.owner-name {
    font-weight: 500;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-ok {
    background-color: #28a745;
    color: white;
}

.status-syncing {
    background-color: #17a2b8;
    color: white;
}

.status-not-syncing {
    background-color: #ffc107;
    color: black;
}

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

.domains-search {
    margin-bottom: 20px;
}

.search-form {
    max-width: 500px;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-button {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-button:hover {
    opacity: 0.9;
}

.domain-dates {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
}

.date-item i {
    color: var(--primary-color);
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

.date-item:first-child {
    color: #28a745;
}

.date-item:last-child {
    color: #dc3545;
} 