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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f6fa;
    color: #2d3436;
}

/* Container layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styles */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
}

.logo {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
}

nav ul li {
    margin: 0.5rem 0;
}

nav ul li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li.active a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

nav ul li a i {
    margin-right: 0.75rem;
}

.badge {
    background-color: #e74c3c;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: auto;
}

/* Main content styles */
.main-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #2d3436;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f5f6fa;
    border-radius: 5px;
}

.btn-public {
    padding: 0.5rem 1rem;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.notifications,
.messages {
    position: relative;
    cursor: pointer;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Dashboard content styles */
.dashboard-content {
    display: grid;
    gap: 2rem;
}

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

/* Card styles */
.status-cards,
.completed-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-header i {
    color: #6c5ce7;
}

.card-body h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: #6c5ce7;
    font-weight: 500;
}

/* Subjects section */
.subjects-section {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subject-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    padding: 0.5rem 1rem;
    background-color: #f5f6fa;
    border-radius: 5px;
    font-size: 0.875rem;
}

/* Table styles */
.employers-section {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Transactions Section */
.transactions-section {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}
.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.transactions-header h3 {
    color: #607d8b;
    font-weight: 500;
}
.see-more-transactions {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.see-more-transactions:hover {
    color: #0097a7;
}
.transactions-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}
.transactions-section th, .transactions-section td {
    padding: 0.9rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}
.transactions-section th {
    color: #607d8b;
    font-weight: 600;
    background: none;
}
.transactions-section td {
    color: #444;
    font-size: 1rem;
}
.transactions-section tr:last-child td {
    border-bottom: none;
}
.transactions-section td span {
    font-size: 1.1em;
    vertical-align: middle;
    margin-right: 4px;
}

.table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

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

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f5f6fa;
}

th {
    font-weight: 600;
    color: #2d3436;
}

td {
    color: #636e72;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -250px;
        height: 100vh;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }
}

/* WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    color: white;
    font-size: 32px;
}

.whatsapp-icon-img {
    width: 32px;
    height: 32px;
    display: block;
}

.chat-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
}

.chat-card.active {
    display: block;
}

.chat-header {
    background-color: #075E54;
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.chat-header-content {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-title h4 {
    margin: 0;
    font-size: 1rem;
}

.chat-title p {
    margin: 4px 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
}

.chat-messages {
    padding: 16px;
    background-color: #E5DDD5;
    min-height: 200px;
}

.message {
    background-color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    max-width: 85%;
}

.message.admin {
    margin-left: 0;
}

.message strong {
    display: block;
    color: #075E54;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.message p {
    margin: 0;
    color: #4A4A4A;
    font-size: 0.9375rem;
}

.start-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.start-chat-btn:hover {
    background-color: #1fa855;
}

.start-chat-btn i {
    font-size: 20px;
}
.start-chat-btn .whatsapp-icon-img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
} 