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

html, body {
    overscroll-behavior: none;
}

body {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    min-width: 320px;
}

body, button, input, select, submit, textarea {
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

button, a, input, select {
    touch-action: manipulation;
}

#instagramUrl,
#nextBtn {
    width: 95%;
}

.container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 60px 45px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    height: 32px;
}

.brand img {
    max-height: 32px;
    width: auto;
}

.slogan {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 45px;
}

.slogan strong {
    color: #2d3748;
}

.input-group {
    margin-bottom: 10px;
}

.url-input {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: 1px solid #D6D6DC;
    border-radius: 6px;
    outline: none;
    background: white;
    box-sizing: border-box;
}

.url-input:focus {
    border-color: #323645;
    box-shadow: none;
}

.url-input::placeholder {
    color: #9CA3AF;
}

.clarification-input::placeholder {
    color: #9CA3AF;
}

.next-btn {
    width: 100%;
    height: 48px;
    padding: 0 32px;
    font-weight: 600;
    color: white;
    background: #272727;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.next-btn:hover:not(:disabled) {
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-description {
    color: #718096;
    line-height: 1.4;
    margin-bottom: 40px;
    font-size: 14px;
}

.alternative-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.alternative-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Drop zone styles */
.drop-zone {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    z-index: 10;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: default;
}

.drop-zone.active {
    display: flex;
}

.drop-zone.dragover {
    background: #fff;
    border: 2px dashed #667eea;
}

.drop-zone-content {
    padding: 40px;
    text-align: center;
}

.drop-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    opacity: .7;
}

.drop-text {
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.drop-subtext {
    color: #718096;
}

.close-drop {
    position: absolute;
    top: -45px;
    right: -30px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: all 0.3s ease;
}

.close-drop:hover {
    background: #edf2f7;
    color: #4a5568;
}

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

.container {
    animation: fadeIn 0.6s ease;
}

@media (max-width: 768px) {
    .container {
        padding: 60px 30px;
    }
    #instagramUrl,
    #nextBtn {
        width: 100%;
    }
    .close-drop {
        top: -45px;
        right: -15px;
    }
    .screen-nav {
        top: -45px;
        left: -15px;
    }
}

/* Waiting screen styles */
.screen {
    display: none;
    position: relative;
}

.screen.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

.progress-list {
    text-align: left;
    margin: 50px 0 30px 0;
}

.progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #a0aec0;
    transition: color 0.3s ease;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8fafc;
    position: relative;
}

.instagram-photos {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-photos.show {
    opacity: 1;
}

.instagram-photo {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #f7fafc;
    overflow: hidden;
}

.instagram-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-item.in-progress {
    color: #2d3748;
    background: #e0f2fe;
}

.progress-item.completed {
    color: #48bb78;
    background: #f0fdf4;
}

.progress-item.warning {
    color: #856404;
    background: #fff3cd;
}

.progress-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.progress-item.in-progress .progress-icon {
    color: #0ea5e9;
}

.progress-item.completed .progress-icon {
    color: #22c55e;
}

.progress-item.warning .progress-icon {
    color: #f59e0b;
}

.progress-text {
    flex: 1;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

/* Clarification tooltip */
.clarification-tooltip {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.clarification-tooltip.show {
    display: block;
}

.clarification-text {
    color: #856404;
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 14px;
}

.clarification-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    font-size: 16px;
    border: 1px solid #D6D6DC;
    border-radius: 4px;
    outline: none;
    margin-bottom: 10px;
    background: white;
    box-sizing: border-box;
}

.clarification-input:focus {
    border-color: #ffc107;
    box-shadow: none;
}

.clarification-submit {
    height: 38px;
    padding: 0 20px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    background: #272727;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.clarification-submit:hover {
    background: #1a1a1a;
}

.waiting-title {
    color: #2d3748;
    margin-bottom: 10px;
}

.waiting-subtitle {
    color: #718096;
    margin-bottom: 40px;
}

/* Creatives grid styles */
.creatives-grid {
    display: grid;
    gap: 16px;
    margin: 40px 0;
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .creatives-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

.creative-card {
    background: #f7fafc;
    border: 1px solid #D6D6DC;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.creative-card:hover {
    border-color: #323645;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.creative-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.creative-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px 4px 0 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.creative-loader {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.creative-emoji {
    font-size: 64px;
}

.creative-card.loading .creative-loader {
    display: block;
}

.creative-card.loading .creative-emoji {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.creative-headline {
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1.3;
    padding: 0 16px;
}

.creative-description {
    color: #718096;
    line-height: 1.4;
    font-size: 14px;
    padding: 0 16px 16px;
    max-height: 86px;
    overflow: hidden;
    border-bottom: 10px solid #f7fafc;
}

.creative-tooltip {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.creative-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip-buttons {
    display: flex;
    gap: 10px;
}

.delete-btn {
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    background: #e53e3e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.delete-btn:hover {
    background: #c53030;
}

.clarification-submit {
    flex: 1;
}

.screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screen-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Targeting screen styles */
.targeting-section {
    margin: 40px 0;
}

.price-estimate {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.price-label {
    font-weight: 400;
    color: #0369a1;
    font-size: 14px;
}

.price-value {
    font-weight: 800;
    color: #0369a1;
}

.info-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0ea5e9;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.info-btn:hover {
    background: #0284c7;
}

.info-tooltip {
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 16px 20px;
    border-radius: 4px;
    line-height: 1.4;
    max-width: 280px;
    display: none;
    z-index: 30;
    text-align: left;
    font-size: 14px;
}

.info-tooltip.show {
    display: block;
}

/* Specific positioning for each tooltip */
#socialNetworksTooltip {
    bottom: 130%;
}

#durationInfo {
    bottom: 107%;
}

#budgetInfo {
    bottom: 105%;
}

#clicksInfo {
    bottom: 105%;
}

#priceInfoTooltip {
    bottom: 115%;
}

#socialNetworksTooltip {
    width: 250px;
    max-width: 250px;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f2937;
}

.targeting-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.targeting-item {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.targeting-item:hover {
    border-color: #cbd5e0;
}

.targeting-label {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    color: #4a5568;
    min-width: 100px;
    text-align: left;
}

.targeting-value {
    flex: 1;
    color: #2d3748;
    font-weight: 500;
}

.edit-btn {
    padding: 6px 16px;
    font-weight: 600;
    color: #667eea;
    background: transparent;
    border: 1px solid #667eea;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.edit-btn:hover {
    background: #667eea;
    color: white;
}

.edit-tooltip {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.edit-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Budget screen styles */
.budget-section {
    margin: 40px 0;
}

.budget-item {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.budget-item:hover {
    border-color: #cbd5e0;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.budget-label {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 14px;
    text-align: left;
    color: #4a5568;
}

.budget-controls {
    display: flex;
    gap: 8px;
}

.budget-controls .info-btn {
    margin-top: 5px;
}

.budget-value {
    font-weight: 600;
    font-size: 30px;
    color: #2d3748;
}

.info-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.info-btn:hover {
    background: #5a67d8;
}

.budget-item .tooltip-arrow {
    position: absolute;
    top: 100%;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f2937;
}

.other-options {
    margin-top: 30px;
    margin-bottom: 30px;
}

.options-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 6px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.options-btn:hover {
    background: #edf2f7;
    border-color: #a0aec0;
}

.options-btn span:first-child {
    font-weight: 600;
    color: #4a5568;
}

.options-subtitle {
    color: #718096;
    display: block;
    margin-top: 4px;
}

.options-arrow {
    color: #a0aec0;
    transition: transform 0.3s ease;
}

.options-btn:hover .options-arrow {
    transform: translateX(4px);
}

.budget-edit-tooltip {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.budget-edit-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Calendar popup styles */
.calendar-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 420px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.calendar-popup.show {
    opacity: 1;
    visibility: visible;
}

.calendar-header {
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
}

.quick-select-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quick-select-btn {
    padding: 8px 16px;
    font-weight: 500;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.quick-select-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.quick-select-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.date-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    width: 100%;
}

.date-input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    outline: none;
    background: white;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.date-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 1px #667eea;
}

.date-separator {
    color: #718096;
    font-weight: 500;
}

.calendar-buttons {
    display: flex;
    gap: 10px;
}

.calendar-save-btn {
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    background: #272727;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.calendar-save-btn:hover {
    background: #1a1a1a;
}

.calendar-cancel-btn {
    padding: 8px 20px;
    font-weight: 600;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.calendar-cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Mobile responsive calendar */
@media (max-width: 480px) {
    .calendar-popup {
        max-width: 320px;
        padding: 16px;
    }

    .date-inputs {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .date-input {
        height: 44px !important;
        min-height: 44px;
        padding: 0 12px;
        font-size: 16px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        max-width: 100%;
    }

    .date-separator {
        text-align: center;
        margin: 4px 0;
    }

    .quick-select-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .quick-select-btn {
        flex: none;
        height: 44px;
        min-height: 44px;
    }
}

/* Demographics popup styles */
.demographics-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demographics-popup.show {
    opacity: 1;
    visibility: visible;
}

.demographics-section {
    margin-bottom: 25px;
}

.demographics-section:last-child {
    margin-bottom: 0;
}

.demographics-section-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.demographics-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.demographic-tile {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.demographic-tile:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.demographic-tile.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.demographic-tile.selected:hover {
    background: #5a67d8;
    border-color: #5a67d8;
}

.demographics-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.demographics-save-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: white;
    background: #272727;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.demographics-save-btn:hover {
    background: #1a1a1a;
}

.demographics-cancel-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.demographics-cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Location popup styles */
.location-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.location-popup.show {
    opacity: 1;
    visibility: visible;
}

.location-header {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

.location-section {
    margin-bottom: 16px;
}

.location-field-title {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 6px;
    font-size: 14px;
}

.location-dropdown {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    color: #2d3748;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-dropdown:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 1px #667eea;
}

.location-dropdown:disabled {
    background: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.location-dropdown:hover:not(:disabled) {
    border-color: #cbd5e0;
}

.location-buttons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.location-save-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: white;
    background: #272727;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.location-save-btn:hover {
    background: #1a1a1a;
}

.location-save-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.location-cancel-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.location-cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Schedule popup styles */
.schedule-popup {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 30px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 90%;
    max-width: 450px;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.schedule-popup.show {
    opacity: 1;
    visibility: visible;
}

/* Social networks section styles */
.social-networks-section {
    margin: 30px 0 40px;
}

.social-networks-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}

.social-networks-label {
    color: #323645;
    font-size: 14px;
    font-weight: 500;
}

.info-btn-container {
    position: relative;
}

.social-networks-grid {
    display: grid;
    grid-template-columns: repeat(6, 32px);
    gap: 8px;
    justify-content: start;
}

.social-network-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-network-icon.enabled {
    cursor: help;
    /* No border or box-shadow */
}

.social-network-icon.disabled {
    opacity: 0.3;
    cursor: help;
    filter: grayscale(100%) brightness(0.7);
}

.social-network-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-info-tooltip {
    position: absolute;
    background: #2d3748;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.social-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #2d3748;
}

.social-info-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.schedule-header {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
}

.schedule-section {
    margin-bottom: 20px;
}

.schedule-field-title {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 14px;
}

.schedule-time-display {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    padding: 12px;
    background: #f7fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.schedule-slider-container {
    margin: 24px 0;
}

.schedule-slider-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.schedule-slider-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
}

.schedule-slider-range {
    position: absolute;
    height: 100%;
    background: #667eea;
    border-radius: 4px;
    top: 0;
}

.schedule-slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #667eea;
    border: 2px solid white;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.schedule-slider-handle:hover {
    background: #5a67d8;
    transform: translate(-50%, -50%) scale(1.1);
}

.schedule-slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

.schedule-time-labels {
    display: flex;
    justify-content: space-between;
    color: #718096;
    font-size: 12px;
    margin-top: 8px;
}

.schedule-presets {
    margin: 24px 0;
}

.schedule-preset-title {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 12px;
    font-size: 14px;
}

.schedule-preset-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.schedule-preset-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: fit-content;
}

.schedule-preset-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.schedule-preset-btn.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.schedule-buttons {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.schedule-save-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: white;
    background: #272727;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.schedule-save-btn:hover {
    background: #1a1a1a;
}

.schedule-cancel-btn {
    padding: 10px 20px;
    font-weight: 600;
    color: #4a5568;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.schedule-cancel-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Slider styles */
.slider-container {
    margin-top: 20px;
    width: 100%;
}

.budget-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.budget-slider::-webkit-slider-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.budget-slider::-moz-range-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #718096;
    font-size: 12px;
}

.click-price-ref {
    color: #667eea;
    font-weight: 400;
    font-size: 12px;
    margin-left: 8px;
}


.screen-nav {
    position: absolute;
    top: -45px;
    left: -30px;
    margin: 0;
}

.back-btn {
    padding: 8px 16px;
    font-weight: 500;
    color: #4a5568;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.back-btn:hover {
    background: #f7fafc;
}
