:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: var(--font-family);
}

.form-container {
    background: #fff;
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.form-title {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.plan-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan {
    position: relative;
}

.plan input[type="radio"] {
    display: none;
}

.plan label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.plan input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.plan-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}

.plan-price {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.plan-duration {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.save-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-btn, .prev-btn, .submit-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.next-btn, .submit-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.next-btn:hover, .submit-btn:hover {
    background-color: #0056b3;
}

.prev-btn {
    background-color: var(--secondary-color);
    color: #fff;
}

.prev-btn:hover {
    background-color: #5a6268;
}

#success-message {
    text-align: center;
    padding: 3rem;
}

#success-message h2 {
    color: var(--success-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
