* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 650px;
    margin: 0 auto;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.spotify-logo {
    max-width: 180px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo-section .language-selector {
    margin-top: 10px;
}

.digitalent-logo {
    max-width: 100px;
    opacity: 0.9;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1DB954, #1ed760);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 7.14%;
}

.step-indicator {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Form Container */
.form-container {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
}

.form-step {
    display: none;
}

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

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #191414;
    margin-bottom: 25px;
}

.optional-badge {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.required-badge {
    color: #dc3545;
    font-weight: 500;
}

/* Promo Code */
.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input-group input {
    flex: 1;
    text-transform: uppercase;
}

.btn-apply-promo {
    background: #1DB954;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-apply-promo:hover {
    background: #1ed760;
}

.btn-apply-promo:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.promo-status {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
}

.promo-status.success {
    color: #28a745;
}

.promo-status.error {
    color: #dc3545;
}

.promo-status.success::before {
    content: "✓ ";
}

.promo-status.error::before {
    content: "✕ ";
}

.daily-spend-option {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

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

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #191414;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 16px;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1DB954;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Character Counter */
.char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Helper Text */
.helper-text {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Category Select */
.category-select {
    position: relative;
}

.category-select select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.category-select::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    pointer-events: none;
}

/* Radio & Checkbox */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.radio-label:hover,
.checkbox-label:hover {
    background-color: #f0f0f0;
}

.radio-label input,
.checkbox-label input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d9d9d9;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-label input:checked + .radio-custom {
    border-color: #1DB954;
}

.radio-label input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #1DB954;
    border-radius: 50%;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkbox-custom {
    border-color: #1DB954;
    background-color: #1DB954;
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Radio Card */
.radio-card {
    border: 1px solid #d9d9d9;
    background: white;
}

.radio-card:hover {
    border-color: #1DB954;
}

.radio-label input:checked ~ .radio-content {
    color: #191414;
}

.radio-content {
    flex: 1;
}

.radio-content strong {
    display: block;
    margin-bottom: 4px;
}

.radio-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Age Groups Container */
.age-groups-container {
    margin-left: 32px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-top: 10px;
}

.age-range-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.age-range-selector select {
    width: auto;
    padding: 8px 12px;
}

/* Format Buttons */
.format-buttons,
.budget-toggle {
    display: flex;
    gap: 10px;
}

.format-btn,
.budget-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background-color: #e0e0e0;
    color: #191414;
    transition: all 0.2s ease;
}

.format-btn.active,
.budget-btn.active {
    background-color: #1DB954;
    color: white;
}

.format-btn:hover,
.budget-btn:hover {
    opacity: 0.9;
}

/* Input with Prefix */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix .prefix {
    position: absolute;
    left: 16px;
    color: #666;
    font-size: 16px;
}

.input-with-prefix input {
    padding-left: 35px;
}

/* Date Group */
.date-group {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.date-field {
    flex: 1;
}

.date-field input {
    width: 100%;
    margin-top: 8px;
}

.date-separator {
    margin-bottom: 14px;
    color: #666;
}

/* Location List */
.location-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    margin-top: 8px;
    background: white;
    display: none;
}

.location-list.show {
    display: block;
}

.location-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.location-item:hover {
    background-color: #f5f5f5;
}

.location-item:last-child {
    border-bottom: none;
}

.selected-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.selected-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #1DB954;
    color: white;
    border-radius: 20px;
    font-size: 13px;
}

.selected-location-tag .remove {
    cursor: pointer;
    font-weight: bold;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.upload-area:hover {
    border-color: #1DB954;
    background-color: #f9fff9;
}

.upload-area.large {
    padding: 50px;
}

.upload-area.has-file {
    border-style: solid;
    border-color: #1DB954;
    background: linear-gradient(135deg, #f0fff4 0%, #e8fef0 100%);
    position: relative;
}

.upload-area.has-file::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1DB954;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-icon {
    font-size: 32px;
}

.upload-content span {
    color: #666;
}

.upload-preview {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
}

.format-info {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
}

/* Info Card */
.info-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #191414;
}

.info-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.highlight-text {
    color: #1DB954 !important;
    font-weight: 500;
}

/* Example Box */
.example-box {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.example-box strong {
    display: block;
    margin-bottom: 8px;
    color: #191414;
}

.example-box p {
    font-style: italic;
    color: #666;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 14px;
    color: #856404;
}

/* Audio Player */
.audio-player-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.audio-player-container audio {
    width: 100%;
    margin-bottom: 15px;
}

.waveform-container {
    position: relative;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.waveform {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1DB954 0%, #1ed760 100%);
    opacity: 0.3;
}

.clip-selector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.clip-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: rgba(29, 185, 84, 0.5);
    border-left: 3px solid #1DB954;
    border-right: 3px solid #1DB954;
}

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

#clipSlider {
    width: 100%;
    cursor: pointer;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #191414;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

.btn-primary {
    background-color: #1DB954;
    color: white;
}

.btn-primary:hover {
    background-color: #1ed760;
    transform: scale(1.02);
}

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

/* Summary */
.summary-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.summary-section h3 {
    font-size: 16px;
    color: #1DB954;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #666;
    font-size: 14px;
}

.summary-value {
    color: #191414;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.summary-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-section h3 .step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #1DB954;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
}

.file-uploaded {
    color: #28a745;
    font-weight: 500;
}

.file-missing {
    color: #dc3545;
    font-weight: 500;
}

.file-optional {
    color: #6c757d;
    font-style: italic;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

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

.success-message h2 {
    color: #1DB954;
    margin-bottom: 15px;
}

.success-message p {
    color: #666;
    margin-bottom: 10px;
}

.campaign-id {
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 15px;
}

/* Campaign ID Box */
.campaign-id-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin: 25px auto;
    max-width: 400px;
    text-align: center;
}

.campaign-id-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.campaign-id-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.campaign-id-row strong {
    font-size: 16px;
    color: #191414;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.btn-copy-id {
    background: #1DB954;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-id:hover {
    background: #1ed760;
}

.campaign-id-hint {
    font-size: 13px;
    color: #666;
    margin: 12px 0 0 0;
    line-height: 1.5;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(135deg, #f0fff4 0%, #e8f5e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto 0;
    max-width: 400px;
    text-align: center;
}

.contact-icon {
    font-size: 28px;
    margin: 0 0 10px 0;
}

.contact-text {
    font-size: 14px;
    color: #555;
    margin: 0 0 10px 0;
}

.contact-email {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #1DB954;
    text-decoration: none;
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #1DB954;
    transition: all 0.2s;
}

.contact-email:hover {
    background: #1DB954;
    color: white;
}

/* Payment Summary Box */
.payment-summary-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.payment-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.payment-summary-header .payment-icon {
    font-size: 24px;
}

.payment-summary-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #191414;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #555;
}

.payment-summary-row.promo-row {
    color: #28a745;
}

.payment-summary-row.promo-row .discount-text {
    font-weight: 600;
}

.payment-summary-row.total {
    border-top: 2px solid #dee2e6;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #191414;
}

.payment-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin: 15px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-note::before {
    content: "🔒";
    font-size: 14px;
}

/* Stripe Button */
.btn-stripe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #635bff 0%, #5851ea 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 91, 255, 0.3);
}

.btn-stripe:hover {
    background: linear-gradient(135deg, #5851ea 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.4);
}

.btn-stripe:active {
    transform: translateY(0);
}

.stripe-btn-logo {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }

    .form-container {
        padding: 20px;
    }

    .form-title {
        font-size: 20px;
    }

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

    .date-separator {
        display: none;
    }

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

    .btn {
        width: 100%;
    }

    .format-buttons,
    .budget-toggle {
        flex-wrap: wrap;
    }

    .format-btn,
    .budget-btn {
        flex: 1;
        min-width: 80px;
    }
}

/* Admin Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #191414;
    color: white;
    border-radius: 12px;
    margin-bottom: 20px;
}

.admin-header h1 {
    font-size: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 32px;
    color: #1DB954;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #666;
}

.campaign-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.campaign-card {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.2s;
}

.campaign-card:hover {
    background-color: #f5f5f5;
}

.campaign-card:last-child {
    border-bottom: none;
}

.campaign-card-content {
    flex: 1;
    cursor: pointer;
}

.campaign-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.campaign-delete-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

.campaign-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.campaign-card-header h3 {
    font-size: 16px;
    color: #191414;
}

.campaign-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.campaign-status.pending {
    background: #fff3cd;
    color: #856404;
}

.campaign-status.approved {
    background: #d4edda;
    color: #155724;
}

.campaign-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.campaign-card-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    font-size: 20px;
    color: #191414;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-play {
    background-color: #1DB954;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
    font-weight: 600;
}

.btn-play:hover {
    background-color: #1ed760;
}

.download-btn {
    background-color: #007bff;
    color: white;
}

.download-btn:hover {
    background-color: #0056b3;
}

/* Login Form */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 12px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #191414;
}

.login-error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
}

.login-error.show {
    display: block;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.feature-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1DB954;
    font-weight: bold;
}

/* Footer Section */
.footer-section {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.footer-section .digitalent-logo {
    max-width: 100px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.language-selector {
    display: inline-block;
}

.language-selector select {
    padding: 8px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.language-selector select:focus {
    outline: none;
    border-color: #1DB954;
}

/* Budget Breakdown */
.min-badge {
    font-size: 12px;
    font-weight: 400;
    color: #666;
}

.budget-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.budget-breakdown {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.budget-breakdown h4 {
    font-size: 16px;
    color: #191414;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.breakdown-row:last-of-type {
    border-bottom: none;
}

.breakdown-row span:last-child {
    font-weight: 600;
    color: #191414;
}

.breakdown-row.highlight {
    background: #f0fff4;
    margin: 10px -20px;
    padding: 15px 20px;
    border-radius: 8px;
}

.breakdown-row.highlight span:last-child {
    color: #1DB954;
    font-size: 18px;
}

.breakdown-row.currency {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #e0e0e0;
}

.breakdown-row.currency span:last-child {
    color: #007bff;
}

.breakdown-row.promo-discount-row {
    background: #fff5f5;
    margin: 5px -20px;
    padding: 12px 20px;
    border-radius: 0;
}

.breakdown-row.promo-discount-row span:first-child {
    color: #28a745;
    font-weight: 500;
}

.breakdown-row.promo-discount-row .discount-value {
    color: #28a745 !important;
    font-weight: 700;
}

.tcmb-badge {
    display: inline-block;
    background: #e8f4ff;
    color: #007bff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 600;
}

.exchange-note {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    text-align: right;
}

/* Estimated Results */
.estimated-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.estimated-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.estimated-header h4 {
    font-size: 16px;
    color: #191414;
    margin: 0;
}

.estimate-badge {
    background: #fff3cd;
    color: #856404;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.estimated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.estimated-item {
    text-align: center;
    padding: 15px 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.estimated-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.estimated-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1DB954;
}

.estimated-disclaimer {
    font-size: 11px;
    color: #dc3545;
    line-height: 1.5;
    margin: 0;
    padding: 10px;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #dc3545;
}

.stripe-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

.stripe-logo {
    height: 20px;
    width: auto;
}

/* Ad Details Layout */
.url-example {
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    word-break: break-all;
}

.url-example span {
    font-weight: 600;
    color: #191414;
}

/* Fixed Preview Sidebar */
.preview-sidebar {
    position: fixed;
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    background: #191414;
    border-radius: 20px 0 0 20px;
    padding: 25px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: right 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.preview-sidebar.visible {
    right: 0;
}

.preview-sidebar-content h4 {
    font-size: 16px;
    color: #1DB954;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.phone-preview {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.phone-preview .preview-bg {
    width: 100%;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.preview-top-title {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-companion {
    position: absolute;
    top: 18%;
    left: 13%;
    width: 74%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    display: none;
}

.preview-companion.has-image {
    display: block;
}

.preview-companion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info-section {
    position: absolute;
    top: 59%;
    left: 13%;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 78%;
}

.preview-logo {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #444;
    flex-shrink: 0;
    overflow: hidden;
    display: none;
}

.preview-logo.has-image {
    display: block;
}

.preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info-text {
    flex: 1;
    min-width: 0;
}

.preview-main-title {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-subtitle {
    color: #a0a0a0;
    font-size: 11px;
    margin-top: 2px;
}

.preview-bottom-bar {
    position: absolute;
    bottom: 9%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 88%;
    background: rgba(50, 50, 50, 0.95);
    border-radius: 8px;
    padding: 12px 14px;
}

.preview-bottom-text {
    color: white;
    font-size: 10px;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    margin-left: 8px;
}

.preview-cta {
    background: #ffffff;
    color: #191414;
    font-size: 9px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .preview-sidebar {
        width: 280px;
        padding: 20px;
    }

    .preview-sidebar.visible {
        right: 0;
    }

    .phone-preview {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .preview-sidebar {
        width: 100%;
        right: -100%;
        border-radius: 20px 20px 0 0;
        top: auto;
        bottom: 0;
        transform: none;
        max-height: 60vh;
    }

    .preview-sidebar.visible {
        right: 0;
    }
}

/* Campaign Objective Step */
.step-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    margin-top: -15px;
}

.objective-card {
    border: 2px solid #d9d9d9;
    background: white;
    padding: 20px !important;
    transition: all 0.3s ease;
}

.objective-card:hover {
    border-color: #1DB954;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.15);
}

.objective-card.selected,
.objective-card:has(input:checked) {
    border-color: #1DB954;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
    box-shadow: 0 4px 16px rgba(29, 185, 84, 0.2);
}

.objective-description {
    font-size: 13px;
    color: #666;
    margin: 8px 0 15px 0 !important;
    line-height: 1.5;
}

.delivery-goals {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

.goal-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.goal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.goal-tag {
    display: inline-block;
    background: #1DB954;
    color: white;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Device Checkboxes */
.device-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.device-checkbox {
    padding: 10px 12px !important;
    border-radius: 6px;
    margin: 0;
}

.device-checkbox:hover {
    background-color: #f5f5f5;
}

/* Collapsible Sections */
.collapsible-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.collapsible-header:hover {
    background-color: #f9f9f9;
}

.collapsible-header label {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.collapse-icon {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.collapsible-content.show {
    max-height: 500px;
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
}

/* Placement Option */
.placement-option {
    margin-bottom: 0;
}

.placement-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.placement-option.disabled .radio-content strong,
.placement-option.disabled .radio-content p {
    color: #999;
}

/* Info Banner */
.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
}

.info-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border-radius: 50%;
    font-size: 12px;
    color: #666;
}

/* Format Details spacing */
.format-details {
    margin-top: 20px;
}

/* Canvas Specs Box */
.canvas-specs-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #1DB954;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.canvas-specs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
}

.canvas-specs-header .specs-icon {
    font-size: 20px;
}

.canvas-specs-header strong {
    font-size: 16px;
    color: #191414;
}

.canvas-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.spec-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1DB954;
}

.btn-learn-more {
    background: none;
    border: none;
    color: #1DB954;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
    text-decoration: underline;
}

.btn-learn-more:hover {
    color: #1ed760;
}

/* Canvas Modal */
.canvas-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.canvas-modal.show {
    display: flex;
}

.canvas-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.canvas-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 15px;
}

.canvas-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #191414;
    margin: 0;
}

.canvas-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.canvas-modal-close:hover {
    color: #191414;
}

.canvas-modal-tabs {
    display: flex;
    gap: 0;
    padding: 0 30px;
    border-bottom: 1px solid #e0e0e0;
}

.canvas-tab {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.canvas-tab:hover {
    color: #191414;
}

.canvas-tab.active {
    color: #191414;
    font-weight: 600;
}

.canvas-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #1DB954;
    border-radius: 2px 2px 0 0;
}

.canvas-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.canvas-tab-content {
    display: none;
}

.canvas-tab-content.active {
    display: block;
}

.canvas-tab-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 30px;
    align-items: start;
}

.canvas-tab-text {
    padding-right: 20px;
}

.canvas-intro {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.canvas-tab-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #191414;
    margin: 25px 0 10px 0;
}

.canvas-tab-text h4:first-of-type {
    margin-top: 0;
}

.canvas-tab-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.canvas-tab-image {
    display: flex;
    justify-content: center;
}

.canvas-tab-image img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.canvas-tips-list,
.canvas-specs-list {
    margin: 10px 0 20px 0;
    padding-left: 20px;
}

.canvas-tips-list li,
.canvas-specs-list li {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.canvas-specs-list li strong {
    color: #191414;
}

.canvas-modal-footer {
    padding: 15px 30px 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.canvas-modal-footer p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.canvas-modal-footer a {
    color: #1DB954;
    text-decoration: none;
    font-weight: 500;
}

.canvas-modal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .canvas-specs-grid {
        grid-template-columns: 1fr;
    }

    .canvas-tab-layout {
        grid-template-columns: 1fr;
    }

    .canvas-tab-image {
        order: -1;
        margin-bottom: 20px;
    }

    .canvas-tab-image img {
        max-width: 200px;
    }

    .canvas-modal-header h2 {
        font-size: 22px;
    }

    .canvas-tab {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Email Verification OTP Styles */
.email-verify-group {
    display: flex;
    gap: 10px;
}

.email-verify-group input {
    flex: 1;
}

.btn-send-otp {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-send-otp:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.btn-send-otp:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.otp-verify-section {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.otp-verify-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.otp-input-group {
    display: flex;
    gap: 10px;
}

.otp-input-group input {
    flex: 1;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    font-weight: 600;
    padding: 12px;
}

.btn-verify-otp {
    background: #191414;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-verify-otp:hover:not(:disabled) {
    background: #333;
}

.btn-verify-otp:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.otp-timer {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.email-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .email-verify-group {
        flex-direction: column;
    }
    
    .btn-send-otp {
        width: 100%;
    }
    
    .otp-input-group {
        flex-direction: column;
    }
    
    .btn-verify-otp {
        width: 100%;
    }
}
