/* Business Signup Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

header p {
    font-size: 14px;
    opacity: 0.9;
}

.header-back {
    display: inline-block;
    margin-top: 10px;
}

.header-back a {
    color: white;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}

.header-back a:hover {
    background: rgba(255,255,255,0.35);
}

.container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px 40px;
}

.progress-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.progress {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.progress-step {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-step.active {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.progress-labels span {
    font-weight: 600;
}

.form-container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.required {
    color: #f44336;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: #667eea;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type=file] {
    display: none;
}

.file-upload-btn {
    display: block;
    padding: 12px;
    background: #f0f0f0;
    border: 2px dashed #667eea;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.file-upload-btn:hover {
    background: #f9f9f9;
}

.file-upload-btn.has-file {
    background: #f0f4ff;
    border-color: #4CAF50;
}

.file-name {
    color: #666;
    font-size: 13px;
    margin-top: 8px;
}

.help-text {
    color: #888;
    font-size: 12px;
    margin-top: 6px;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.btn-prev:hover {
    background: #e8e8e8;
}

.btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.btn-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76,175,80,0.4);
}

.success-message {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.success-message.show {
    display: block;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-box {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type=checkbox] {
    width: auto;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 13px;
}

.error-message {
    color: #f44336;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* Business Hours */
.day-hours-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; background: #f9f9f9; border-radius: 8px;
}
.day-hours-row.closed { opacity: 0.4; }
.day-toggle {
    display: flex; align-items: center; gap: 6px; min-width: 70px;
    font-weight: 600; font-size: 14px; margin: 0; cursor: pointer;
}
.day-toggle input[type=checkbox] { width: auto; cursor: pointer; }
.day-toggle span { color: #333; }
.hour-select {
    flex: 1; padding: 8px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 13px; background: white; cursor: pointer; min-width: 0;
}
.hour-select:disabled { background: #eee; cursor: not-allowed; }
.hour-sep { color: #999; font-weight: 600; flex-shrink: 0; }

/* Premium Service Cards */
.ps-card {
    border: 2px solid #e0e0e0; border-radius: 12px; overflow: hidden; transition: all 0.3s; background: white;
}
.ps-card.selected { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.15); }
.ps-card-header {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
}
.ps-card-header:hover { background: #fafafa; }
.ps-checkbox { width: 22px; height: 22px; accent-color: #667eea; cursor: pointer; flex-shrink: 0; }
.ps-card-info { flex: 1; min-width: 0; }
.ps-card-name { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 2px; }
.ps-card-desc-short { font-size: 12px; color: #888; }
.ps-card-price {
    font-size: 16px; font-weight: 800; color: #667eea; white-space: nowrap; flex-shrink: 0;
}
.ps-card-price small { font-size: 11px; font-weight: 500; color: #999; }
.ps-detail-btn {
    display: block; width: 100%; padding: 10px; text-align: center;
    background: #f8f9fa; border: none; border-top: 1px solid #eee;
    font-size: 12px; font-weight: 600; color: #667eea; cursor: pointer; transition: background 0.2s;
}
.ps-detail-btn:hover { background: #f0f1ff; }

/* Service Detail Modal */
.ps-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.ps-modal-overlay.show { display: flex; }
.ps-modal {
    background: white; border-radius: 16px; max-width: 600px; width: 100%;
    max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s;
}
.ps-modal-img {
    width: 100%; height: 220px; object-fit: cover; border-radius: 16px 16px 0 0; display: block;
}
.ps-modal-body { padding: 24px; }
.ps-modal-title { font-size: 22px; font-weight: 800; color: #333; margin-bottom: 4px; }
.ps-modal-price-tag {
    display: inline-block; background: linear-gradient(135deg,#667eea,#764ba2);
    color: white; padding: 4px 14px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-bottom: 16px;
}
.ps-modal-desc { font-size: 14px; line-height: 1.8; color: #555; white-space: pre-line; }
.ps-modal-features { list-style: none; padding: 0; margin: 16px 0; }
.ps-modal-features li {
    padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #555;
    display: flex; align-items: center; gap: 8px;
}
.ps-modal-features li::before { content: '\2713'; color: #667eea; font-weight: 700; }
.ps-modal-actions {
    display: flex; gap: 10px; margin-top: 20px;
}
.ps-modal-actions button {
    flex: 1; padding: 12px; border: none; border-radius: 10px; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.ps-modal-subscribe { background: linear-gradient(135deg,#667eea,#764ba2); color: white; }
.ps-modal-subscribe:hover { box-shadow: 0 4px 12px rgba(102,126,234,0.4); }
.ps-modal-close-btn { background: #f0f0f0; color: #333; }

@media (max-width: 600px) {
    .container {
        margin: 20px auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-prev, .btn-next {
        width: 100%;
    }

    .section-title {
        font-size: 18px;
    }
}
