/* PM Event Calculator Styles */

/* Main Wrapper */
.pmec-calculator-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Progress Bar - Horizontal */
.pmec-progress-bar {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pmec-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-direction: row !important;
}

.pmec-progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.pmec-step {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: default;
}

.pmec-step.completed,
.pmec-step.active {
    cursor: pointer;
}

.pmec-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.pmec-step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 120px;
}

.pmec-step.active .pmec-step-number {
    background: #0066cc;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.pmec-step.active .pmec-step-label {
    color: #0066cc;
    font-weight: bold;
}

.pmec-step.completed .pmec-step-number {
    background: #28a745;
    color: #fff;
}

.pmec-step.completed .pmec-step-number::after {
    content: '✓';
}

.pmec-step.completed .pmec-step-label {
    color: #28a745;
}

/* Calculator Container - Grid Layout */
.pmec-calculator {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* Form Container */
.pmec-form-container {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Steps - Hide inactive steps */
.pmec-form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.pmec-form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.pmec-step-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
}

.pmec-step-description {
    margin: 0 0 30px 0;
    color: #666;
    font-size: 14px;
}

/* Sidebar */
.pmec-sidebar {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

.pmec-sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.pmec-total-display {
    font-size: 36px;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 20px;
    text-align: center;
}

.pmec-breakdown {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.pmec-breakdown h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.pmec-breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.pmec-note-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
}

/* Form Fields */
.pmec-field {
    margin-bottom: 25px;
}

.pmec-field-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.pmec-required {
    color: #dc3545;
}

.pmec-field-subtitle {
    display: block;
    margin-top: -5px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
    font-weight: normal;
    line-height: 1.4;
}

.pmec-field input[type="text"],
.pmec-field input[type="email"],
.pmec-field input[type="tel"],
.pmec-field input[type="number"],
.pmec-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.pmec-field input:focus,
.pmec-field textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.pmec-field-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Radio and Checkbox Options */
.pmec-radio-option,
.pmec-checkbox-option {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.pmec-radio-option:hover,
.pmec-checkbox-option:hover {
    border-color: #0066cc;
    background: #f8f9fa;
}

.pmec-radio-option input,
.pmec-checkbox-option input {
    margin-right: 10px;
}

.pmec-premium {
    color: #ffc107;
    font-weight: bold;
}

/* Navigation Buttons */
.pmec-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.pmec-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pmec-btn-prev {
    background: #6c757d;
    color: #fff;
}

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

.pmec-btn-next,
.pmec-btn-submit {
    background: #0066cc;
    color: #fff;
}

.pmec-btn-next:hover,
.pmec-btn-submit:hover {
    background: #0052a3;
}

.pmec-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pmec-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Responsive */
@media (max-width: 968px) {
    .pmec-calculator {
        grid-template-columns: 1fr;
    }
    
    .pmec-sidebar {
        position: static;
        order: 2;
    }
    
    .pmec-form-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .pmec-step-label {
        font-size: 10px;
        max-width: 80px;
    }
    
    .pmec-step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .pmec-progress-bar {
        padding: 20px 10px;
    }
    
    .pmec-total-display {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .pmec-step-label {
        display: none;
    }
    
    .pmec-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .pmec-btn {
        width: 100%;
    }
}

/* Legacy compatibility - hide old template steps */
.pmec-step-content {
    display: none;
}

.pmec-step-content.active {
    display: block;
}

/* Guest Summary Box */
.pmec-guest-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.pmec-guest-summary p {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.pmec-guest-summary p:last-child {
    margin-bottom: 0;
}

.pmec-guest-summary span {
    color: #0066cc;
}

/* Premium Options Separator */
.pmec-premium-separator {
    margin: 20px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.pmec-premium-label {
    color: #666;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Review Section */
.pmec-review-section {
    margin-bottom: 30px;
}

.pmec-review-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pmec-review-block {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.pmec-review-heading {
    background: #0066cc;
    color: #fff;
    padding: 10px 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.pmec-review-content {
    padding: 15px;
    font-size: 14px;
    color: #333;
}

.pmec-review-list {
    margin: 0;
    padding: 0 0 0 20px;
}

.pmec-review-list li {
    margin-bottom: 5px;
}

/* Contact Section Header */
.pmec-contact-section-header {
    margin-top: 40px;
    margin-bottom: 25px;
    border-top: 1px solid #ccc;
    padding-top: 25px;
}

.pmec-contact-section-header h3 {
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
    color: #1a202c; /* Dark text color */
    font-size: 24px;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1px;
}
