/**
 * Refactor Factory Platform - Main Styles
 *
 * @package RefactorFactoryPlatform
 * @since 1.0.0
 */

/* Base Styles */
.rf-platform {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Alerts */
.rf-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.rf-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.rf-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.rf-alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.rf-alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Buttons */
.rf-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.rf-btn:active {
    transform: scale(0.98);
}

.rf-btn-primary {
    background: #2563eb;
    color: white;
}

.rf-btn-primary:hover {
    background: #1d4ed8;
    color: white;
    text-decoration: none;
}

.rf-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.rf-btn-secondary:hover {
    background: #e5e7eb;
    text-decoration: none;
}

/* Cards */
.rf-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rf-card h3 {
    margin-top: 0;
    color: #1e40af;
}

/* Grid */
.rf-grid {
    display: grid;
    gap: 24px;
}

.rf-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rf-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Features (Landing Page) */
.rf-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.rf-features .feature {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.rf-features .feature h3 {
    margin-top: 0;
    color: #1e40af;
}

.rf-features .feature p {
    color: #64748b;
    margin-bottom: 0;
}

/* Utility Classes */
.rf-text-center {
    text-align: center;
}

.rf-mt-20 {
    margin-top: 20px;
}

.rf-mb-20 {
    margin-bottom: 20px;
}

.rf-mt-40 {
    margin-top: 40px;
}

.rf-mb-40 {
    margin-bottom: 40px;
}
