/* Feedbackfreund Core Frontend Styles */

:root {
    --ff-primary: #2563eb;
    --ff-primary-hover: #1d4ed8;
    --ff-secondary: #0f172a;
    --ff-bg: #f8fafc;
    --ff-card-bg: #ffffff;
    --ff-border: #e2e8f0;
    --ff-text: #0f172a;
    --ff-text-muted: #64748b;
    --ff-success: #10b981;
    --ff-error: #ef4444;
}

.ff-dashboard-wrapper, .ff-login-wrapper {
    max-width: 1200px;
    margin: 4rem auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ff-text);
}

/* Login Area Styling */
.ff-login-wrapper {
    max-width: 450px;
    padding: 3rem;
    background: var(--ff-card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--ff-border);
}

.ff-login-wrapper #ff-loginform {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ff-login-wrapper p {
    margin: 0 0 1rem 0;
}

.ff-login-wrapper label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ff-text-muted);
}

.ff-login-wrapper input[type="text"],
.ff-login-wrapper input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--ff-border);
    background: #f1f5f9;
    transition: all 0.2s;
}

.ff-login-wrapper input[type="text"]:focus,
.ff-login-wrapper input[type="password"]:focus {
    outline: none;
    border-color: var(--ff-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ff-login-wrapper input[type="submit"] {
    background: var(--ff-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    font-size: 1rem;
}

.ff-login-wrapper input[type="submit"]:hover {
    background: var(--ff-primary-hover);
}

/* Dashboard Styling */
.ff-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ff-card {
    background: var(--ff-card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--ff-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.ff-card h3 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* UI Elements */
.ff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.ff-btn-primary {
    background: var(--ff-primary);
    color: white;
}

.ff-btn-primary:hover {
    background: var(--ff-primary-hover);
}

.ff-btn-secondary {
    background: #f1f5f9;
    color: var(--ff-text);
}

.ff-btn-secondary:hover {
    background: #e2e8f0;
}

.ff-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.ff-table th {
    background: #f8fafc;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ff-text-muted);
}

.ff-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ff-status-bewertet {
    background: #d1fae5;
    color: #065f46;
}

.ff-status-ausstehend {
    background: #fef3c7;
    color: #92400e;
}