:root {
    --primary-color: #1B84FF;
    --secondary-color: #1B84FF;
    --accent-color: #FFD700;
    --background-light: #f9f9f9;
    --background-dark: #1a1a1a;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --border-radius: 16px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition-default: all 0.3s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to top right, var(--secondary-color) 50%, var(--background-light) 50%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 0;
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    body {
        background: linear-gradient(to top, var(--secondary-color) 50%, var(--background-light) 50%);
    }
  }

/* Miglioramento della card */
.form-container {
    background-color: rgba(249, 249, 249, 0.7);
    backdrop-filter: blur(50px);
    --WEBKIT-BACKDROP-FILTER: blur(50px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 2rem;
    transition: var(--transition-default);
}

.form-container:hover {
    box-shadow: var(--shadow-hover);
}

.page-title {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 2.2rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Input field migliorato */
.form-control {
    border-radius: 12px;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    font-size: 1rem;
    transition: var(--transition-default);
    background-color: rgba(249, 249, 249, 0.7);
    backdrop-filter: blur(50px);
    --WEBKIT-BACKDROP-FILTER: blur(50px);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(27, 132, 255, 0.4);
    outline: none;
    transform: scale(1.02);
}

/* Bottone migliorato */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition-default);
    color: white;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Hover sugli elementi */
.form-check:hover,
.form-container:hover,
.btn-primary:hover {
    transition: var(--transition-default);
}