/* ===== Responsive Design ===== */

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
  :root {
    --left-panel-width: 45%;
    --right-panel-width: 55%;
  }

  .right-panel {
    padding: var(--spacing-xl) 60px;
  }
}

/* Desktop (1024px - 1440px) */
@media (max-width: 1440px) {
  :root {
    --left-panel-width: 45%;
    --right-panel-width: 55%;
  }

  .right-panel {
    padding: var(--spacing-xl) 40px;
  }
}

/* Tablet & Small Desktop (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --left-panel-width: 100%;
    --right-panel-width: 100%;
    --spacing-lg: 16px;
    --spacing-md: 12px;
  }

  .main-container {
    flex-direction: column;
  }

  .left-panel {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
  }

  .story-bottom-section {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  }

  .story-labels {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }

  .story-label {
    flex: 0 0 calc(50% - 2px);
    font-size: 10px;
  }

  .right-panel {
    margin-left: 0;
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    height: auto;
    overflow-y: visible;
  }

  .right-panel-inner {
    padding: 0 var(--spacing-md);
  }

  .form-header {
    padding: var(--spacing-md) 0;
  }

  .header-wrapper {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .header-logo {
    width: 100px;
    height: 89px;
  }

  .header-content {
    text-align: center;
  }

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

  .form-subtitle {
    font-size: 14px;
  }

  .progress-container {
    position: relative;
    top: auto;
  }

  .progress-steps {
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }

  .step-indicator {
    flex: 0 0 calc(50% - var(--spacing-md));
  }

  /* Progress line hidden only for tablet 2x2 grid layout */
  .progress-line-container {
    display: none;
  }

  .step-item-btn {
    padding: var(--spacing-md);
    min-height: 56px;
  }
}

/* Small Tablet / Large Mobile (480px - 767px) */
@media (max-width: 767px) {
  :root {
    --spacing-lg: 14px;
    --spacing-md: 10px;
    --spacing-sm: 8px;
    --font-size-base: 13px;
    --font-size-lg: 14px;
  }

  /* Hide left panel completely on mobile */
  .left-panel {
    display: none;
  }

  /* Make right panel full width and fix sticky */
  .right-panel {
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .story-bottom-section {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  }

  .story-label {
    font-size: 9px;
  }

  .right-panel {
    padding: var(--spacing-md);
  }

  .right-panel-inner {
    padding: 0 var(--spacing-sm);
  }

  /* Keep header horizontal on mobile */
  .header-wrapper {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .header-logo {
    width: 70px;
    height: 62px;
  }

  .header-text {
    text-align: left;
  }

  .form-title {
    font-size: 16px;
    line-height: 1.2;
  }

  .form-subtitle {
    font-size: 11px;
    line-height: 1.3;
  }

  .info-accordion-btn {
    padding: var(--spacing-md);
    font-size: 14px;
  }

  .info-content-inner {
    padding: var(--spacing-md);
  }

  /* Progress Section - Horizontal layout for mobile */
  .progress-section {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999;
    background-color: #ffffff;
    margin-bottom: var(--spacing-lg);
  }

  .progress-container {
    position: relative;
    height: auto;
    padding: 16px 16px;
  }

  .progress-steps {
    justify-content: space-between;
    gap: 0;
  }

  .step-indicator {
    width: auto;
    flex: 0 0 auto;
  }

  .step-circle {
    width: 40px;
    height: 40px;
  }

  .pie-chart {
    width: 40px;
    height: 40px;
  }

  /* Hide step labels and sublabels on mobile */
  .step-label {
    display: none;
  }

  .step-sublabel {
    display: none;
  }

  /* Show and adjust progress line for horizontal mobile layout */
  .progress-line-container {
    display: block !important;
    top: 18px;
    left: 20px;
    right: 20px;
    height: 4px;
  }

  .progress-line-dashed {
    display: block;
    height: 2px;
  }

  .progress-line-solid {
    display: block;
    height: 4px;
  }

  .step-item-btn {
    padding: var(--spacing-md);
    min-height: 52px;
    font-size: 13px;
    gap: var(--spacing-sm);
  }

  .step-item-number {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .step-item-title {
    font-size: 13px;
  }
}

/* Mobile (320px - 479px) */
@media (max-width: 479px) {
  :root {
    --spacing-lg: 12px;
    --spacing-md: 8px;
    --spacing-sm: 5px;
    --border-radius: 10px;
    --font-size-base: 12px;
    --font-size-lg: 13px;
  }

  /* Hide left panel completely on mobile */
  .left-panel {
    display: none;
  }

  /* Make right panel full width and fix sticky */
  .right-panel {
    width: 100%;
    overflow-y: visible;
    height: auto;
  }

  .story-progress-container {
    gap: 2px;
  }

  .story-progress-bar {
    height: 2px;
  }

  .story-bottom-section {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  }

  .story-labels {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .story-label {
    flex: 0 0 auto;
    font-size: 8px;
  }

  .right-panel {
    padding: var(--spacing-sm);
  }

  .right-panel-inner {
    padding: 0;
  }

  .form-header {
    padding: var(--spacing-sm) 0;
  }

  /* Keep header horizontal on small mobile */
  .header-wrapper {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

  .header-logo {
    width: 55px;
    height: 49px;
  }

  .header-text {
    text-align: left;
  }

  .form-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .form-subtitle {
    font-size: 10px;
    line-height: 1.3;
  }

  /* Progress Section - Horizontal compact for small mobile */
  .progress-section {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999;
    background-color: #ffffff;
    margin-bottom: var(--spacing-lg);
  }

  .progress-container {
    position: relative;
    padding: 12px 12px;
    border-radius: 8px;
    height: auto;
  }

  .progress-steps {
    justify-content: space-between;
    gap: 0;
  }

  .step-indicator {
    width: auto;
    flex: 0 0 auto;
  }

  .step-circle {
    width: 32px;
    height: 32px;
  }

  .pie-chart {
    width: 32px;
    height: 32px;
  }

  /* Hide step labels and sublabels on mobile */
  .step-label {
    display: none;
  }

  .step-sublabel {
    display: none;
  }

  /* Show and adjust progress line for smaller mobile */
  .progress-line-container {
    display: block !important;
    top: 14px;
    left: 16px;
    right: 16px;
    height: 4px;
  }

  .progress-line-dashed {
    display: block;
    height: 2px;
  }

  .progress-line-solid {
    display: block;
    height: 4px;
  }

  /* Already defined above - removed duplicate */

  .info-section {
    border-radius: 8px;
  }

  .info-accordion-btn {
    padding: var(--spacing-sm);
    font-size: 12px;
  }

  .step-item {
    border-radius: 8px;
  }

  .step-item-btn {
    padding: var(--spacing-md);
    min-height: 48px;
    font-size: 12px;
    gap: 8px;
  }

  .step-item-number {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .step-item-chevron {
    width: 18px;
    height: 18px;
  }

  .spacer {
    height: 40px;
  }
}

/* Extra Small Mobile (< 320px) */
@media (max-width: 319px) {
  .form-title {
    font-size: 14px;
  }

  .header-logo {
    width: 50px;
    height: 44px;
  }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
  .left-panel {
    min-height: 100vh;
  }

  .hero-title {
    font-size: 36px;
  }

  .spacer {
    height: 40px;
  }
}

/* Print Styles */
@media print {
  .left-panel {
    display: none;
  }

  .right-panel {
    margin-left: 0;
    width: 100%;
    padding: 0;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Touch-friendly Adjustments */
@media (hover: none) and (pointer: coarse) {
  .step-item-btn,
  .info-accordion-btn {
    min-height: 44px;
  }

  button {
    touch-action: manipulation;
  }
}

/* ===== Login/Register Form Responsive ===== */

/* Tablet & Small Desktop (768px - 1023px) */
@media (max-width: 1023px) {
  .login-buttons {
    flex-direction: column;
    align-items: center;
  }

  .login-btn {
    max-width: none;
    width: 90%;
  }

  .login-or {
    text-align: center;
    padding: var(--spacing-sm) 0;
  }

  .form-row {
    flex-direction: column;
  }

  /* Keep register form fields side by side on mobile */
  .register-form .form-row {
    flex-direction: row;
    gap: var(--spacing-md);
  }

  .register-form .form-row .floating-input-wrapper {
    flex: 1;
  }

  .submit-btn {
    width: 100%;
    max-width: 325px;
  }
}

/* Small Tablet / Large Mobile (480px - 767px) */
@media (max-width: 767px) {
  .login-register-form {
    padding: var(--spacing-md) 0;
  }

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

  .section-description {
    font-size: 13px;
  }

  /* Keep register form fields side by side on mobile */
  .register-form .form-row {
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .register-form .form-row .floating-input-wrapper {
    flex: 1;
  }

  .login-btn {
    height: 60px;
    min-width: auto;
  }

  .btn-logo {
    width: 55px;
    height: 55px;
  }

  .db-logo {
    width: 100px;
  }

  .btn-text {
    font-size: 12px;
    flex-direction: column;
    gap: 2px;
  }

  .btn-divider {
    height: 40px;
  }

  .form-separator {
    margin: var(--spacing-lg) 0;
  }

  .separator-text {
    font-size: 13px;
  }

  .floating-input {
    height: 52px;
    line-height: 52px;
    font-size: 14px;
  }

  .floating-label {
    font-size: 14px;
  }

  .floating-input:focus + .floating-label,
  .floating-input:not(:placeholder-shown) + .floating-label {
    font-size: 12px;
  }

  .password-info {
    font-size: 13px;
  }

  .checkbox-text {
    font-size: 13px;
  }

  .submit-btn {
    height: 46px;
    font-size: 14px;
  }
}

/* Mobile (320px - 479px) */
@media (max-width: 479px) {
  .login-register-form {
    padding: var(--spacing-sm) 0;
  }

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

  .section-description {
    font-size: 12px;
  }

  /* Keep register form fields side by side on small mobile */
  .register-form .form-row {
    flex-direction: row;
    gap: var(--spacing-xs);
  }

  .register-form .form-row .floating-input-wrapper {
    flex: 1;
  }

  .login-btn {
    height: 55px;
  }

  .btn-logo {
    width: 48px;
    height: 48px;
    padding: 6px;
  }

  .db-logo {
    width: 80px;
    padding: 8px;
  }

  .btn-text {
    font-size: 11px;
    padding: 0 10px;
    flex-direction: column;
    gap: 2px;
  }

  .btn-divider {
    height: 35px;
  }

  .login-or {
    font-size: 14px;
  }

  .form-separator {
    margin: var(--spacing-md) 0;
    gap: var(--spacing-sm);
  }

  .separator-text {
    font-size: 12px;
  }

  .register-form {
    gap: var(--spacing-md);
  }

  .floating-input {
    height: 48px;
    line-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }

  .floating-label {
    font-size: 13px;
    left: 10px;
  }

  .floating-input:focus + .floating-label,
  .floating-input:not(:placeholder-shown) + .floating-label {
    font-size: 11px;
  }

  .password-toggle {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  .eye-icon {
    width: 20px;
    height: 20px;
  }

  .password-info {
    font-size: 12px;
  }

  .checkbox-container {
    padding-left: 28px;
  }

  .checkmark {
    width: 16px;
    height: 16px;
  }

  .checkbox-text {
    font-size: 12px;
  }

  .submit-btn {
    height: 44px;
    font-size: 13px;
  }

  .input-error {
    font-size: 11px;
  }
}

/* ===== Application Form (Step 2) Responsive ===== */

/* Tablet & Small Desktop (768px - 1023px) */
@media (max-width: 1023px) {
  .form-block-title {
    font-size: 15px;
  }

  .field-question {
    font-size: 13px;
  }

  .field-description {
    font-size: 12px;
  }

  .selected-city-container {
    height: 52px !important;
  }
}

/* Small Tablet / Large Mobile (480px - 767px) */
@media (max-width: 767px) {
  .form-block-title {
    font-size: 14px;
  }

  /* Keep form fields side by side on mobile where it makes sense */
  .form-block .form-row {
    flex-direction: row;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }

  .form-block .form-row .floating-input-wrapper,
  .form-block .form-row .date-picker-group {
    flex: 1;
    min-width: 0;
  }

  /* Single column for single field rows */
  .form-block .form-row.single {
    flex-direction: column;
  }

  /* Add spacing between form elements on mobile */
  .form-block .floating-input-group,
  .form-block .floating-select-group,
  .form-block .date-picker-group {
    margin-bottom: var(--spacing-md);
  }

  /* Add more spacing for radio groups on mobile */
  .form-block .radio-group {
    margin-bottom: var(--spacing-lg);
  }

  /* Keep radio buttons horizontal on mobile */
  .radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Spacing for field questions (directive texts) */
  .field-question {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }

  /* Education status conditional fields - keep side by side */
  .conditional-fields .form-row,
  .conditional-sub-fields .form-row {
    flex-direction: row;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }

  .conditional-fields .floating-input-group,
  .conditional-fields .floating-select-group,
  .conditional-sub-fields .floating-input-group,
  .conditional-sub-fields .floating-select-group {
    margin-bottom: var(--spacing-md);
  }

  .conditional-fields .form-row .floating-input-group,
  .conditional-fields .form-row .floating-select-group,
  .conditional-fields .form-row .date-picker-group,
  .conditional-fields .form-row .program-select-group,
  .conditional-sub-fields .form-row .floating-input-group,
  .conditional-sub-fields .form-row .floating-select-group,
  .conditional-sub-fields .form-row .date-picker-group {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    height: 56px;
    min-height: 56px;
  }

  /* Equal heights for all inputs and selects in conditional fields */
  .conditional-fields .floating-input,
  .conditional-fields .floating-select,
  .conditional-sub-fields .floating-input,
  .conditional-sub-fields .floating-select {
    height: 56px !important;
    line-height: 56px;
  }

  /* Single column for single field rows in conditional fields */
  .conditional-fields .form-row.single,
  .conditional-sub-fields .form-row.single {
    flex-direction: column;
  }

  /* Ensure single fields also have proper height */
  .conditional-fields .form-row.single .floating-input-group,
  .conditional-sub-fields .form-row.single .floating-input-group {
    height: 56px;
    min-height: 56px;
  }

  /* University select needs auto height for helper text */
  .conditional-fields .form-row.single .university-select-group,
  .conditional-sub-fields .form-row.single .university-select-group {
    height: auto;
    min-height: 56px;
    margin-bottom: 40px;
    padding-bottom: 25px;
  }

  /* Add spacing after radio-label-group (Ülke section) */
  .conditional-sub-fields .radio-label-group {
    margin-bottom: var(--spacing-md);
  }

  /* Ensure equal width for Üniversite Bölümü and Sınıf fields */
  .conditional-sub-fields .form-row:not(.single) {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .conditional-sub-fields .form-row:not(.single) .floating-input-group,
  .conditional-sub-fields .form-row:not(.single) .floating-select-group {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 56px;
    min-height: 56px;
  }

  .conditional-sub-fields .form-row:not(.single) .floating-input,
  .conditional-sub-fields .form-row:not(.single) .floating-select {
    height: 56px !important;
    line-height: 56px;
  }

  /* ===== Team Member Form Mobile Styles ===== */
  .team-member-form .form-row {
    flex-direction: row;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
  }

  .team-member-form .form-row .floating-input-group,
  .team-member-form .form-row .floating-select-group,
  .team-member-form .form-row .date-picker-group {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
  }

  .team-member-form .form-row.single {
    flex-direction: column;
  }

  /* Team member conditional fields - university select height auto for helper text */
  .team-member-form .conditional-sub-fields .university-select-group {
    height: auto;
    min-height: 56px;
    margin-bottom: 40px;
    padding-bottom: 25px;
  }

  /* Team member form - Üniversite Bölümü ve Sınıf yan yana */
  .team-member-form .member-student-university-fields .form-row:not(.single) {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .team-member-form .member-student-university-fields .form-row:not(.single) .floating-input-group,
  .team-member-form .member-student-university-fields .form-row:not(.single) .floating-select-group {
    flex: 1;
    min-width: 0;
  }

  /* Team member subtitles spacing */
  .team-member-subtitle {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
  }

  /* Style helper text on mobile */
  .field-helper-text {
    font-size: 11px;
    margin-top: 6px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.4;
    display: block;
  }

  /* Add extra spacing after university select groups that have helper text */
  .university-select-group {
    margin-bottom: var(--spacing-lg);
  }

  .floating-textarea {
    min-height: 120px;
    font-size: 14px;
  }

  .floating-textarea-label {
    font-size: 14px;
  }

  .floating-textarea:focus + .floating-textarea-label,
  .floating-textarea:not(:placeholder-shown) + .floating-textarea-label {
    font-size: 12px;
  }

  .date-picker-group .floating-input {
    padding-right: 44px;
  }

  .date-picker-icon {
    right: 10px;
    width: 20px;
    height: 20px;
  }

  .city-dropdown {
    max-height: 250px;
  }

  .city-search-input {
    padding: 10px 14px;
    font-size: 13px;
  }

  .city-item {
    padding: 10px 14px;
    font-size: 13px;
  }

  .selected-city-container {
    height: 52px !important;
    padding: 0 35px 0 14px !important;
  }

  .selected-city-text {
    font-size: 14px;
  }
}

/* Mobile (320px - 479px) */
@media (max-width: 479px) {
  .form-block {
    margin-bottom: var(--spacing-lg);
  }

  .form-block-title {
    font-size: 13px;
    margin-bottom: var(--spacing-md);
  }

  .field-question {
    font-size: 12px;
  }

  .field-description {
    font-size: 11px;
  }

  /* Keep form fields side by side on small mobile */
  .form-block .form-row {
    flex-direction: row;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
  }

  .form-block .form-row .floating-input-wrapper,
  .form-block .form-row .date-picker-group {
    flex: 1;
    min-width: 0;
  }

  /* Single column for single field rows */
  .form-block .form-row.single {
    flex-direction: column;
  }

  .floating-textarea {
    min-height: 100px;
    padding: 12px;
    font-size: 13px;
  }

  .floating-textarea-label {
    font-size: 13px;
    left: 10px;
    top: 12px;
  }

  .floating-textarea:focus + .floating-textarea-label,
  .floating-textarea:not(:placeholder-shown) + .floating-textarea-label {
    font-size: 11px;
  }

  .character-counter {
    font-size: 10px;
  }

  .floating-select {
    height: 48px;
    padding: 0 35px 0 14px;
    font-size: 13px;
  }

  .floating-select-label {
    font-size: 12px;
    left: 10px;
  }

  .selected-tags-container {
    min-height: 44px;
    padding: 12px 30px 4px 10px !important;
  }

  .tag-chip {
    font-size: 10px;
    height: 22px;
    padding: 0 6px;
  }

  .tag-chip-close {
    width: 14px;
    height: 14px;
  }

  .tags-dropdown {
    max-height: 180px;
  }

  .tag-item {
    padding: 8px 14px;
    font-size: 12px;
  }

  .date-picker-icon {
    right: 8px;
    width: 18px;
    height: 18px;
  }

  .selected-city-container {
    height: 48px !important;
    padding: 0 30px 0 12px !important;
  }

  .selected-city-text {
    font-size: 13px;
  }

  .city-dropdown {
    max-height: 200px;
  }

  .city-search-input {
    padding: 8px 12px;
    font-size: 12px;
  }

  .city-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Flatpickr Mobile */
  .flatpickr-calendar {
    width: 280px !important;
    font-size: 12px;
  }

  .flatpickr-day {
    height: 32px;
    line-height: 32px;
  }

  /* Radio Buttons Mobile */
  .radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .radio-checkmark {
    width: 14px;
    height: 14px;
  }

  .radio-container input[type="radio"]:checked ~ .radio-checkmark::after {
    width: 6px;
    height: 6px;
  }

  .radio-label {
    font-size: 12px;
  }

  /* Conditional Fields Mobile */
  .conditional-fields {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }

  .conditional-fields .field-question {
    font-size: 12px;
    margin-bottom: var(--spacing-sm);
  }

  /* Program & Sector Select Mobile */
  .selected-program-container,
  .selected-student-program-container,
  .selected-sector-container {
    height: 48px !important;
    padding: 0 30px 0 12px !important;
  }

  .selected-program-text,
  .selected-student-program-text,
  .selected-sector-text {
    font-size: 13px;
  }

  .program-dropdown,
  .student-program-dropdown,
  .sector-dropdown {
    max-height: 200px;
  }

  .program-item,
  .student-program-item,
  .sector-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  .sector-search-input {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ===== Radio & Conditional Fields Responsive ===== */

/* Tablet & Small Desktop (768px - 1023px) */
@media (max-width: 1023px) {
  .radio-group {
    gap: 20px;
  }
}

/* Small Tablet / Large Mobile (480px - 767px) */
@media (max-width: 767px) {
  .radio-group {
    gap: 16px;
  }

  .radio-checkmark {
    width: 16px;
    height: 16px;
  }

  .radio-label {
    font-size: 13px;
  }

  .conditional-fields .form-row {
    flex-direction: column;
  }

  .selected-program-container,
  .selected-student-program-container,
  .selected-sector-container {
    height: 52px !important;
    padding: 0 35px 0 14px !important;
  }
}

/* ===== Step 3 Responsive Styles ===== */

/* Tablet & Small Desktop */
@media (max-width: 1023px) {
  .step3-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .step3-question-row,
  .step3-stage-item,
  .step3-two-column {
    flex-direction: column;
    gap: 16px;
    margin-top: 0;
    padding-top: 0;
  }

  .step3-question-left,
  .step3-stage-left,
  .step3-column-left {
    flex: none;
    width: 100%;
  }

  .step3-question-right,
  .step3-stage-right,
  .step3-column-right {
    width: 100%;
  }

  .step3-floating-textarea-medium {
    width: 100%;
  }

  .step3-video-row {
    flex-direction: column;
  }

  .step3-section-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step3-section-row .step3-section-subtitle-bold {
    flex: none;
    width: 100%;
  }

  .step3-team-count-options {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100%;
  }

  .step3-team-count-item {
    width: 100%;
  }

  .step3-team-count-box {
    width: 100%;
    justify-content: center;
  }

  .step3-source-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step3-action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .step3-btn-update,
  .step3-btn-submit {
    width: 100%;
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .step3-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .step3-video-thumb {
    aspect-ratio: 16/9;
  }

  /* Small video cards - horizontal layout on mobile */
  .step3-video-card-small {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    width: 100%;
  }

  .step3-video-thumb-small {
    width: 50%;
    height: auto;
    aspect-ratio: 16/9;
    flex-shrink: 0;
  }

  .step3-video-info-small {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8px;
  }

  .step3-video-info-small p {
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
  }

  /* Horizontal video cards - 50/50 layout on mobile */
  .step3-video-card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .step3-video-card-horizontal .step3-video-thumb {
    width: 50%;
    height: auto;
    aspect-ratio: 16/9;
    flex-shrink: 0;
  }

  .step3-video-card-horizontal .step3-video-info {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 8px;
  }

  .step3-video-card-horizontal .step3-video-info p {
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 4px 0;
  }

  .step3-video-card-horizontal .step3-video-info p:last-child {
    margin-bottom: 0;
  }

  /* Potansiyel Etki video row - 2x2 grid like İş Fikrinizden Bahsedin */
  .step3-video-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  .step3-video-row .step3-video-card-horizontal {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .step3-video-row .step3-video-card-horizontal .step3-video-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .step3-video-row .step3-video-card-horizontal .step3-video-info {
    width: 100%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .step3-video-row .step3-video-card-horizontal .step3-video-info p {
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
    margin: 2px 0;
    width: 100%;
  }

  /* Step 3 Section Row - Mobile: title on top, video below in 50/50 layout */
  .step3-section-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 0;
    padding: 0;
  }

  .step3-section-row + .step3-two-column {
    margin-top: 12px !important;
    padding-top: 0 !important;
  }

  .step3-section-row .step3-section-subtitle-bold {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .step3-section-row .step3-video-card-horizontal {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin: 0;
    padding: 0;
    height: auto;
  }

  .step3-section-row .step3-video-card-horizontal .step3-video-thumb {
    width: 50%;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
  }

  .step3-section-row .step3-video-card-horizontal .step3-video-thumb img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: auto;
  }

  .step3-section-row .step3-video-card-horizontal .step3-video-info {
    width: 50%;
    flex-shrink: 0;
    padding-left: 6px;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
  }

  .step3-section-row .step3-video-card-horizontal .step3-video-info p {
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
  }

  /* Step 3 Question Row - Mobile layout */
  .step3-question-row {
    flex-direction: column;
    gap: 16px;
  }

  .step3-question-left {
    max-width: 100%;
  }

  .step3-question-right {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .step3-stage-desc {
    padding-left: 0;
  }

  .step3-source-grid {
    grid-template-columns: 1fr;
  }

  /* Step 2 Team Count Section - Same as Step 3 */
  .team-count-selector {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100%;
  }

  .team-count-option {
    width: 100% !important;
    max-width: none !important;
    padding: 14px 8px;
    justify-content: center !important;
    gap: 8px;
  }

  .team-count-icons {
    flex-shrink: 0;
    height: 35px;
  }

  .team-count-icons img,
  .team-count-icons svg {
    height: 35px;
    width: auto;
  }

  .team-count-text {
    flex-shrink: 0;
  }

  .count-number {
    font-size: 16px;
    white-space: nowrap;
  }

  .count-label {
    font-size: 13px;
    white-space: nowrap;
  }

  /* Step 3 Team Count Section */
  .step3-team-count-options {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100%;
  }

  .step3-team-count-item {
    width: 100% !important;
    max-width: none !important;
  }

  .step3-team-count-box {
    padding: 14px 8px;
    width: 100% !important;
    justify-content: center !important;
    gap: 8px;
  }

  .step3-team-count-box img {
    height: 35px;
    width: auto;
  }

  .step3-team-count-label {
    flex-shrink: 0;
  }

  .step3-team-count-label .count {
    font-size: 16px;
    white-space: nowrap;
  }

  .step3-team-count-label .text {
    font-size: 13px;
    white-space: nowrap;
  }

  /* Step 3 Team Member Form - Keep fields side by side */
  .step3-form-row {
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .step3-form-row .floating-input-wrapper,
  .step3-form-row .date-picker-group {
    flex: 1;
    min-width: 0;
  }

  /* Single column for single field rows */
  .step3-form-row.single {
    flex-direction: column;
  }

  .step3-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .step3-team-member-form {
    padding: 16px;
  }
}
