:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #ec4899;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-radius: 16px;
    --input-bg: #f3f4f6;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0e7490;
    background-image:
        linear-gradient(135deg, rgba(2, 132, 199, 0.85) 0%, rgba(3, 105, 161, 0.85) 100%),
        url('../../background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 600px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.dashboard-container {
    max-width: 900px;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

header h1 {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

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

textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background-color: var(--input-bg);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea:focus,
input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--input-bg);
    padding: 0.5rem;
    border-radius: 12px;
}

.radio-group label {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
    font-weight: 500;
}

.radio-group label:has(input:checked) {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 700;
}

.radio-group input {
    display: none;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 100%;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid #e5e7eb;
    margin-top: 1rem;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    width: auto;
    font-size: 0.9rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
}

footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
}

.secret-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px dashed #c7d2fe;
    margin: 2rem 0;
}

.secret-box h2 {
    text-align: center;
}

.content-display {
    font-size: 1.5rem;
    font-weight: 500;
    white-space: pre-wrap;
    word-break: break-word;
    margin-top: 1rem;
    text-align: left !important;
    min-width: 100%;
    display: block;
    box-sizing: border-box;
}

.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Dashboard Specifics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #f3f4f6;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
}

th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #f3f4f6;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-color);
}

tr:hover td {
    background-color: #f9fafb;
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }
}