/* =============================================
   LOGIN-AZIENDA — css/login-azienda.css
   ============================================= */

body {
    background: linear-gradient(135deg, #e8f1f8 0%, #eef4fb 50%, #e4eef6 100%);
    min-height: 100vh;
}

.wrapper .container {
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 36px 32px;
    max-width: 520px;
    margin: 0 auto;
}

.brand-logo {
    width: 140px;
    border-radius: 10%;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 12px;
    color: #aaa;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.link-switch {
    color: #4A8EC2;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

.link-switch:hover {
    color: #3A7099;
}

.form-control:focus {
    border-color: #8BB8DA;
    box-shadow: 0 0 0 3px rgba(74, 142, 194, 0.15);
}

/* Registration steps */
.reg-step {
    display: none;
}

.reg-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s;
}

.step-dot.active {
    background: #4A8EC2;
    transform: scale(1.2);
}

.step-dot.done {
    background: #8BB8DA;
}

/* Payment card */
.payment-card {
    background: linear-gradient(135deg, #3A7099, #4A8EC2);
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.payment-card .price {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 8px 0;
}

.payment-card .price small {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.payment-card .plan-name {
    font-size: 0.9rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    text-align: left;
}

.feature-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #444;
}

.feature-list li i {
    color: #4A8EC2;
    margin-right: 8px;
}

.btn-pay {
    background: linear-gradient(135deg, #3A7099, #4A8EC2);
    border: none;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 142, 194, 0.35);
}

.btn-pay:disabled {
    opacity: 0.7;
    transform: none;
}

/* Success state */
.success-container {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e8f1f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: #4A8EC2;
}

/* Duration selector */
.duration-card {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.duration-card:hover {
    border-color: var(--primary);
}

.duration-card.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb, 76, 175, 80), 0.08);
}

.duration-months {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.duration-label {
    font-size: 0.75rem;
    color: #666;
}

.duration-price {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
}

.duration-save {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
}