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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2rem;
    color: #333;
}

h2 {
    font-size: 1.5rem;
    color: #444;
}

h3 {
    font-size: 1.25rem;
    color: #555;
}

h4 {
    font-size: 1.1rem;
    color: #666;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.header {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

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

.company-indicator {
    width: 8px;
    height: 40px;
    background-color: #7a64f5;
    border-radius: 4px;
}

.text-muted {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Grid system */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-content {
    padding: 0;
}

/* Info boxes */
.info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
}

.info-box-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-box-value {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/* Stats boxes */
.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
}

.stat-change {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Color variants */
.bg-blue-50 { background-color: #e3f2fd; }
.bg-green-50 { background-color: #e8f5e9; }
.bg-yellow-50 { background-color: #fffde7; }
.bg-red-50 { background-color: #ffebee; }
.bg-gray-50 { background-color: #f5f5f5; }
.bg-orange-50 { background-color: #fff3e0; }
.bg-purple-50 { background-color: #f3e5f5; }

.text-blue-600 { color: #1976d2; }
.text-green-600 { color: #388e3c; }
.text-yellow-600 { color: #f57c00; }
.text-red-600 { color: #d32f2f; }
.text-gray-600 { color: #616161; }
.text-orange-600 { color: #f57c00; }
.text-purple-600 { color: #7b1fa2; }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    gap: 0.25rem;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Candidate cards */
.candidate-card {
    border-left: 4px solid;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.candidate-card.accepted {
    border-left-color: #4caf50;
    background-color: #e8f5e9;
}

.candidate-card.pending {
    border-left-color: #ff9800;
    background-color: #fff3e0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
}

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

.btn-block {
    width: 100%;
    justify-content: space-between;
    padding: 1.5rem;
    text-align: left;
}

.btn-content {
    flex: 1;
}

.btn-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.btn-description {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Insights section */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.insight-box {
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.insight-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.insight-list {
    list-style: none;
}

.insight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Footer */
.footer-banner {
    background: linear-gradient(to right, #5c6bc0, #7e57c2);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Highlight box */
.highlight-box {
    border-left: 4px solid #7a64f5;
    background-color: rgba(122, 100, 245, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    color: #7a64f5;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Extension box */
.extension-box {
    background-color: rgba(122, 100, 245, 0.1);
    border: 1px solid #7a64f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

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

.extension-header h3 {
    color: #7a64f5;
    margin: 0;
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

/* Small button styles */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
    border-radius: 4px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-sm:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}
/* Simplified candidate cards */
.candidate-card-simple {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.candidate-card-simple:hover {
    border-color: #7a64f5;
    box-shadow: 0 2px 8px rgba(122, 100, 245, 0.1);
}

.candidate-card-simple.accepted {
    border-left: 4px solid #28a745;
}

.candidate-card-simple.pending {
    border-left: 4px solid #ffc107;
}

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

.candidate-card-simple .candidate-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.candidate-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7a64f5;
}

.candidate-recent {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

.candidate-recent p {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
}

.candidate-recent strong {
    color: #333;
}
