@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #fff5f2;
    --secondary: #ffe8df;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --border: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.ereklamo-logo {
  align-self: stretch;
  flex-shrink: 0;
  margin-top: 4px;
  height: 50px;
  position: relative;
  object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--primary);
    color: white;
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
    background: none;
}

.btn-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Progress Indicator */
.progress-container {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--primary);
}

.progress-line {
    width: 80px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 16px;
}

/* Main Content */
.main-content {
    padding: 48px 0;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 48px;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.form-description {
    color: var(--text-gray);
    font-size: 16px;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.section-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group select:disabled {
    background: #f3f4f6;
    color: var(--text-light);
    cursor: not-allowed;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.field-hint {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Upload Areas */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-area.upload-disabled {
    border-color: #e5e7eb !important;
    background: #f9fafb !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

.upload-area.upload-disabled:hover {
    border-color: #e5e7eb !important;
    background: #f9fafb !important;
}

.upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    stroke: var(--text-gray);
    stroke-width: 2;
}

.upload-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 13px;
    color: var(--text-gray);
}

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

.upload-count {
    display: inline-block;
    background: #e5e7eb;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.upload-count.has-items {
    background: #d1fae5;
    color: #065f46;
}

.upload-count.is-full {
    background: #fee2e2;
    color: #991b1b;
}

.clear-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-all-btn:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.clear-all-btn .clear-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.clear-all-attachments {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.clear-all-attachments:hover {
    background: #bfdbfe;
}

.upload-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: 13px;
    color: #1e40af;
}

.upload-info .info-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    border: 2px solid var(--border);
}

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

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.video-preview {
    margin-top: 16px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.video-preview .preview-remove {
    position: relative;
    top: auto;
    right: auto;
}

.video-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

/* Notification Card */
.notification-card {
    background: var(--primary-light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 24px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"]:disabled + .checkbox-custom {
    background: #f3f4f6;
    border-color: #d1d5db;
    cursor: not-allowed;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-text strong {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.checkbox-text small {
    font-size: 13px;
    color: var(--text-gray);
}

.notification-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.notice-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    flex-shrink: 0;
}

.notification-notice p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 24px;
    }

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

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

    .progress-steps {
        max-width: 100%;
    }

    .step-label {
        display: none;
    }

    .progress-line {
        width: 40px;
        margin: 0 8px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
