/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-label .required {
    color: #e74c3c;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(59, 83, 74, 0.1);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: #e74c3c;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-checkbox-group,
.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-wrapper,
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-wrapper input[type="checkbox"],
.radio-wrapper input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-wrapper label,
.radio-wrapper label {
    cursor: pointer;
    user-select: none;
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-hover);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Service Selection Styles */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-item {
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.service-item.selected {
    border-color: var(--primary-dark);
    background: linear-gradient(to bottom right, rgba(203, 202, 170, 0.1), rgba(59, 83, 74, 0.05));
}

.service-item.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.4;
}

.service-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.service-link {
    display: inline-block;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Package Styles */
.package-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-hover);
}

.package-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.package-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.package-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.package-price .period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.package-body {
    padding: 2rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.package-select-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-select-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Discount Code Section */
.discount-section {
    background: linear-gradient(135deg, rgba(203, 202, 170, 0.1), rgba(59, 83, 74, 0.05));
    border: 2px dashed var(--primary-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.discount-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.discount-input-group {
    display: flex;
    gap: 1rem;
}

.discount-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-light);
    border-radius: 8px;
    font-size: 1rem;
}

.discount-apply-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discount-apply-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.discount-success {
    color: #27ae60;
    font-weight: 600;
    margin-top: 0.5rem;
}

.discount-error {
    color: #e74c3c;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-hover);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10000;
}

.notification.show {
    transform: translateX(0);
}

/* Booking Icon */
.booking-icon-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.booking-icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--white);
    border: none;
    box-shadow: 0 4px 20px var(--shadow-hover);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.booking-icon-btn:hover {
    transform: scale(1.1);
}

.booking-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .package-container {
        grid-template-columns: 1fr;
    }
    
    .discount-input-group {
        flex-direction: column;
    }
    
    .booking-icon-wrapper {
        bottom: 20px;
        right: 20px;
    }
}