/* Frontend Dashboard Styles */
#creditomagic-frontend-dashboard {
    display: flex;
    min-height: 90vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 20px 0;
}

.cm-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cm-sidebar-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cm-sidebar-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.cm-sidebar-menu {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.cm-menu-item {
    display: block;
    padding: 15px 20px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cm-menu-item:hover,
.cm-menu-item.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateX(10px);
}

.cm-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cm-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cm-header h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
}

.cm-dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cm-stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.cm-stat-box h3 {
    margin: 0 0 10px;
    font-size: 36px;
    font-weight: 300;
}

.cm-stat-box p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #creditomagic-frontend-dashboard {
        flex-direction: column;
    }

    .cm-sidebar {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }

    .cm-content {
        border-radius: 0 0 8px 8px;
    }

    .cm-dashboard-overview {
        grid-template-columns: 1fr;
    }
}

/* Form styles if embedded */
.creditomagic-form-wrapper {
    max-width: 800px;
    margin: 30px auto;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.formbold-main-wrapper h3 {
    color: #333;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.formbold-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.formbold-form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.formbold-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block;
    margin: 20px auto;
    min-width: 200px;
}

.formbold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102,126,234,0.4);
}
