/**
 * American Laser Multistep Form Styles
 * Version: 1.0.0
 */

/* Multistep Form Container */
.alm-multistep-form {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Form Steps Container */
.alm-steps-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.alm-steps-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

/* Individual Step */
.alm-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.alm-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #999;
    transition: all 0.3s ease;
}

.alm-step.active .alm-step-number {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.alm-step.completed .alm-step-number {
    background: #46b450;
    border-color: #46b450;
    color: #fff;
}

.alm-step-label {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.alm-step.active .alm-step-label {
    color: #0073aa;
    font-weight: 600;
}

/* Form Steps Content */
.alm-step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.alm-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Buttons */
.alm-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.alm-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.alm-btn-prev {
    background: #f0f0f0;
    color: #333;
}

.alm-btn-prev:hover {
    background: #e0e0e0;
}

.alm-btn-next,
.alm-btn-submit {
    background: #0073aa;
    color: #fff;
}

.alm-btn-next:hover,
.alm-btn-submit:hover {
    background: #005a87;
}

.alm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Progress Bar */
.alm-progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 30px;
    overflow: hidden;
}

.alm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa 0%, #00a0d2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

/* Form Validation */
.alm-field-error {
    border-color: #dc3232 !important;
}

.alm-error-message {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Loading State */
.alm-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.alm-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .alm-steps-container {
        margin-bottom: 20px;
    }
    
    .alm-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .alm-step-label {
        font-size: 12px;
    }
    
    .alm-navigation {
        flex-direction: column;
    }
    
    .alm-btn {
        width: 100%;
    }
}

/* Elementor Form Integration */
.elementor-form .alm-multistep-form {
    margin-top: 20px;
}

.elementor-field-group {
    margin-bottom: 20px;
}

/* Loading Spinner - "Working on proposal" effect */
#alm-loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#alm-loading-spinner .alm-spinner-icon {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #dc3232;
    border-radius: 50%;
    animation: alm-spin 1s linear infinite;
}

#alm-loading-spinner .alm-spinner-text {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

@keyframes alm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.alm-price-table{
    font-family: "Assistant", Sans-serif;
    font-size: 1.2vw;
    font-weight: 400;
    color: #000;
}
.alm-price-table thead tr,.alm-price-table thead tr:hover,.alm-price-table thead td,.alm-price-table thead td:hover{
    background-color: #f1f1f1 !important;
}
.alm-price-table tbody tr,.alm-price-table tbody tr:hover,.alm-price-table tbody td,.alm-price-table tbody td:hover{
    background-color: #fff !important;
}
@media (max-width: 480px) {
    .alm-price-table{
        font-size: 1em;
    }
}