body {
    background: linear-gradient(to bottom right, #ff6c01, #1f7fff);
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

.register-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Card di registrazione */
.register-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #e5c8b5, #ea7a28);
}

.icon-logo {
    max-width: 80px;
    margin: 0 auto 15px auto;
    display: block;
}

.register-header {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}


.register-body {
    width: 100%;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-column {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f9f9f9;
}

.form-input:focus {
    border-color: #ee6b09;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.error-feedback {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    background: #ee6b09;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: #d55900;
    transform: scale(1.02);
}

.register-link {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.register-link a {
    color: #ee6b09;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #d55900;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .register-card {
        padding: 20px;
    }

    .register-header {
        font-size: 1.2rem;
    }

    .form-label, .form-input, .btn-submit {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-column {
        width: 100%;
    }
}




