/* Authentication Pages Styling */
:root {
    --primary: #0042ff;
    --accent: #0066ff;
    --gradient-primary: linear-gradient(135deg, #0042ff, #0031cc);
    --gradient-secondary: linear-gradient(135deg, #0066ff, #0042ff);
    --text-light: #ffffff;
    --text-secondary: #cccccc;
    --dark-bg: #0a0a0a;
    --dark-card: #141824;
    --dark-card-hover: #1c2231;
    --glow-color: rgba(0, 66, 255, 0.5);
    --error-color: #ff5959;
    --success-color: #4CAF50;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: black;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 66, 255, 0.15), transparent 70%);
    z-index: -1;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background-color: var(--dark-card);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 66, 255, 0.05), transparent);
    z-index: 0;
}

.auth-header {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-header img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    position: relative;
    z-index: 1;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 66, 255, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.auth-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: transform 0.6s;
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    z-index: 1;
}

.auth-button:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.auth-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 66, 255, 0.4);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-auth {
    display: flex;
    justify-content: center;
    width: 100%;
}

.social-button {
    flex: 1;
    padding: 0.8rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-button i {
    font-size: 1.2rem;
}

/* Google Auth Button Styling */
.social-button i.fa-google {
    color: #4285F4;
}

.social-button:hover i.fa-google {
    color: #ffffff;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #757575;
    border: 1px solid #DADCE0;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 10px 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.google-btn:hover {
    background: #f6f6f6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.google-btn i {
    font-size: 18px;
    color: #4285F4;
}

.google-btn span {
    color: #757575;
    font-size: 14px;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.form-error {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-success {
    color: var(--success-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Dashboard critical styles */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

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

.dashboard-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

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

.stats-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 66, 255, 0.3);
}

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

.stats-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stats-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stats-card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.stats-card-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.action-button {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.action-button.primary {
    background: var(--gradient-primary);
    border: none;
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
}

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

/* Chart container */
.chart-container {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
}

/* Performance metrics */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.metric-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Quick actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-action-btn:hover {
    background-color: rgba(0, 66, 255, 0.1);
    transform: translateY(-5px);
}

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

.quick-action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tabs styling */
.tabs-container {
    width: 100%;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.8rem 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.tab-content {
    display: none;
}

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

/* Empty state styling */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Body background for dashboard */
body {
    background-color: black;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
}
