/* Main Styles for TV Advertising Wizard */
:root {
    --primary-color: #00d474;
    --primary-hover: #00b864;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
    --light-gray: #f5f5f5;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.wizard-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

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

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
}

.step-indicator {
    margin-bottom: 30px;
}

.step-indicator ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    position: relative;
}

.step-indicator ul:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-indicator li {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.step-indicator li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--border-color);
}

.step-indicator li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.step-indicator li.active span {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-indicator li.completed span {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.step h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.step h3 {
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

.package-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.package-card {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.package-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.package-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.package-card .price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-card .reach {
    color: #666;
    margin-bottom: 20px;
}

.package-card .btn-select {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-card.selected .btn-select {
    background-color: var(--primary-color);
    color: white;
}

.network-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.network-option {
    width: calc(33.333% - 20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.network-option:hover {
    background-color: var(--secondary-color);
}

.network-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 212, 116, 0.1);
}

.network-option img {
    width: 30px;
    height: 30px;
}

.network-option span {
    flex-grow: 1;
}

.network-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 212, 116, 0.2);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.duration-control {
    display: flex;
    align-items: center;
}

.duration-button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.duration-control input {
    width: 80px;
    text-align: center;
    margin: 0 10px;
}

.file-upload-container {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: #007bff;
}

.file-upload-container.dragover {
    background-color: rgba(0, 123, 255, 0.05);
    border-color: #007bff;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 32px;
    margin-bottom: 10px;
    color: #007bff;
}

.file-upload-text {
    color: #666;
    font-size: 16px;
}

.file-list {
    margin-top: 15px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-item-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}

.file-item-size {
    color: #666;
    font-size: 12px;
    margin-right: 15px;
}

.file-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-decrease,
.btn-increase {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-back {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

#success-message {
    text-align: center;
    padding: 50px 20px;
}

#success-message h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .package-options {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .network-option {
        width: 100%;
    }
    
    .step-indicator ul {
        flex-wrap: wrap;
    }
    
    .step-indicator li {
        flex: 0 0 33.333%;
        margin-bottom: 15px;
    }
}
