/* Full contents copied from buddies/templates/buddies/marketing/apply.css */
/* Below is the exact source to ensure visual parity */
/* 
==========================================
  POSITION APPLICATION FORM STYLES
  Modern centered design with reCAPTCHA support
==========================================
*/

/* Import existing variables and base styles */
:root {
  /* Colors - Dark Theme (Default) */
  --bg-primary: #02090D;
  --bg-secondary: rgba(183.60, 207.20, 224.40, 0.12);
  --text-primary: #D7DFE4;
  --text-secondary: rgba(208.59, 223.93, 235.11, 0.62);
  --text-placeholder: rgba(208.59, 223.93, 235.11, 0.40);
  --accent-color: #0D99FF;
  --social-bg: #828E97;
  --input-bg: rgba(183.60, 207.20, 224.40, 0.12);
  --border-color: rgba(255, 255, 255, 0);
  --error-color: #ff4d4d;
  --success-color: #27ae60;

  /* Colors - Light Theme - Improved */
  --bg-primary-light: #FFFFFF;
  --bg-secondary-light: #F8F9FA;
  --text-primary-light: #1A1D21;
  --text-secondary-light: #4A5568;
  --text-placeholder-light: #718096;
  --social-bg-light: #E2E8F0;
  --input-bg-light: #F7FAFC;
  --input-border-light: #E2E8F0;
  --input-focus-bg-light: #FFFFFF;
  --input-focus-border-light: #0D99FF;

  /* Typography */
  --font-family: 'Poppins', sans-serif;
  --font-size-small: 13px;
  --font-size-regular: 16px;
  --font-size-large: 28px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-small: 16px;
  --line-height-regular: 20px;
  --line-height-large: 32px;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Radius */
  --border-radius: 12px;
  
  /* Transition */
  --theme-transition-duration: 300ms;
  --transition-quick: 0.3s ease;
}

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

/* Theme transition class */
html.theme-transition,
html.theme-transition *,
html.theme-transition *:before,
html.theme-transition *:after {
  transition: all var(--theme-transition-duration) ease !important;
  transition-delay: 0 !important;
}

.careers-apply {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* 
==========================================
LIGHT THEME STYLES
==========================================
*/

.light-theme .careers-apply {
  background-color: var(--bg-primary-light);
  color: var(--text-primary-light);
}

.light-theme .careers-apply .header {
  background-color: var(--bg-primary-light);
}

.light-theme .dark-icon {
  display: none;
}

.light-theme .light-icon {
  display: block;
  color: var(--text-primary-light);
}

.light-theme .application-form input,
.light-theme .application-form select,
.light-theme .application-form textarea {
  background-color: var(--input-bg-light);
  color: var(--text-primary-light);
  border-color: var(--input-border-light);
}

.light-theme .application-form input:focus,
.light-theme .application-form select:focus,
.light-theme .application-form textarea:focus {
  background-color: var(--input-focus-bg-light);
  border-color: var(--input-focus-border-light);
  box-shadow: 0 0 0 4px rgba(13, 153, 255, 0.1);
}

.light-theme .application-form input::placeholder,
.light-theme .application-form textarea::placeholder {
  color: var(--text-placeholder-light);
}

.light-theme .social-links a {
  background-color: var(--social-bg-light);
  color: var(--text-primary-light);
}

.light-theme .application-btn {
  color: #FFFFFF;
}

.light-theme .back-link,
.light-theme label {
  color: var(--text-primary-light);
}

.light-theme .file-upload-area {
  background-color: var(--input-bg-light);
  border-color: var(--input-border-light);
}

.light-theme .file-upload-area:hover {
  border-color: var(--accent-color);
  background-color: rgba(13, 153, 255, 0.03);
}

.light-theme .file-item {
  background-color: var(--bg-secondary-light);
  border-color: var(--input-border-light);
}

.light-theme .file-upload-content p {
  color: var(--text-primary-light);
}

.light-theme .theme-toggle:hover {
  background-color: var(--bg-secondary-light);
}

/* 
==========================================
LAYOUT & CONTAINER STYLES
==========================================
*/

.careers-apply .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.careers-apply .header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background-color: var(--bg-primary);
}

.careers-apply .main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  min-height: calc(100vh - 160px);
}

.careers-apply .footer {
  padding: 0;
  padding-top: 10px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Mobile phones - smaller screens */
@media screen and (max-width: 768px) {
  .careers-apply .footer {
    padding-top: 0px; 
  }
}

/* 
==========================================
LOGO & THEME TOGGLE
==========================================
*/

.careers-apply .logo {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
}

.careers-apply .logo-img {
  width: 100%;
  height: auto;
}

.careers-apply .logo a {
  display: contents;
}

.careers-apply .theme-toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  font-size: 20px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.careers-apply .theme-toggle:hover {
  background-color: var(--bg-secondary);
}

.careers-apply .dark-icon {
  display: block;
}

.careers-apply .light-icon {
  display: none;
}

/* 
==========================================
POSITION APPLICATION FORM STYLES
==========================================
*/

.application-step {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.application-header h1 {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.light-theme .application-header h1 {
  color: var(--text-primary-light);
}

.application-header p {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-regular);
  color: var(--text-secondary);
}

.light-theme .application-header p {
  color: var(--text-secondary-light);
}

.application-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-regular);
  color: var(--text-primary);
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--input-bg);
  border: 1.5px solid transparent;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-regular);
  outline: none;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.application-form input,
.application-form select {
  height: 52px;
}

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

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(13, 153, 255, 0.1);
  background-color: rgba(13, 153, 255, 0.05);
}

.application-form input::placeholder,
.application-form textarea::placeholder {
  color: var(--text-placeholder);
}

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

.light-theme .field-hint {
  color: var(--text-secondary-light);
}

#position {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D7DFE4'%3E%3Cpath d='M12 15l-6-6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center; 
  background-size: 16px; 
  padding-right: 40px;
}

.light-theme #position {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231A1D21'%3E%3Cpath d='M12 15l-6-6h12z'/%3E%3C/svg%3E");
}

/* 
==========================================
ROLE DESCRIPTION STYLES
==========================================
*/

.role-description {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(13, 153, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.light-theme .role-description {
  background-color: var(--bg-secondary-light);
  border-color: rgba(13, 153, 255, 0.15);
}

.role-description-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(13, 153, 255, 0.1);
}

.light-theme .role-description-header {
  border-bottom-color: rgba(13, 153, 255, 0.08);
}

.role-description-header i {
  font-size: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.role-description-header h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
}

.light-theme .role-description-header h3 {
  color: var(--text-primary-light);
}

.role-description-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.requirements-section,
.bonus-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.requirements-section h4,
.bonus-section h4 {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.light-theme .requirements-section h4,
.light-theme .bonus-section h4 {
  color: var(--text-primary-light);
}

/* Emojis removed - uncomment if you want them back
.requirements-section h4::before {
  content: "⚡";
  font-size: 16px;
}

.bonus-section h4::before {
  content: "✨";
  font-size: 16px;
}
*/

.requirements-list,
.bonus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.requirements-list li,
.bonus-list li {
  font-size: var(--font-size-regular);
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.light-theme .requirements-list li,
.light-theme .bonus-list li {
  color: var(--text-secondary-light);
}

.requirements-list li::before,
.bonus-list li::before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.bonus-list li::before {
  content: "◦";
  color: rgba(13, 153, 255, 0.7);
}

/* 
==========================================
TECH STACK STYLES
==========================================
*/

.tech-stack {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(13, 153, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 0px;
  transition: all 0.3s ease;
}

.light-theme .tech-stack {
  background-color: var(--bg-secondary-light);
  border-color: rgba(13, 153, 255, 0.15);
}

.tech-stack-header {
  display: flex;
  alignments: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(13, 153, 255, 0.1);
}

.light-theme .tech-stack-header {
  border-bottom-color: rgba(13, 153, 255, 0.08);
}

.tech-stack-header i {
  font-size: 24px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.tech-stack-header h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
}

.light-theme .tech-stack-header h3 {
  color: var(--text-primary-light);
}

.tech-stack-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.technologies-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-category h4 {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin: 0;
}

.light-theme .tech-category h4 {
  color: var(--text-primary-light);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background-color: rgba(13, 153, 255, 0.1);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  border: 1px solid rgba(13, 153, 255, 0.2);
}

.light-theme .tech-tag {
  background-color: rgba(13, 153, 255, 0.08);
  border-color: rgba(13, 153, 255, 0.15);
}

.benefits-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 153, 255, 0.1);
}

.light-theme .benefits-section {
  border-top-color: rgba(13, 153, 255, 0.08);
}

.benefits-section h4 {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin: 0;
}

.light-theme .benefits-section h4 {
  color: var(--text-primary-light);
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.benefits-list li {
  font-size: var(--font-size-regular);
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.light-theme .benefits-list li {
  color: var(--text-secondary-light);
}

.benefits-list li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Fade-in animation for role descriptions and tech stack */
.fade-in {
  animation: roleDescriptionFadeIn 0.4s ease-out;
}

@keyframes roleDescriptionFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for role descriptions and tech stack */
@media screen and (max-width: 768px) {
  .role-description,
  .tech-stack {
    padding: 16px;
  }

  .role-description-content,
  .tech-stack-content {
    gap: 14px;
  }

  .requirements-section,
  .bonus-section,
  .benefits-section {
    gap: 6px;
  }

  .role-description-header,
  .tech-stack-header {
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .technologies-grid {
    gap: 10px;
  }

  .tech-tags {
    gap: 6px;
  }
}

@media screen and (max-width: 480px) {
  .role-description,
  .tech-stack {
    padding: 14px;
  }

  .role-description-header h3,
  .tech-stack-header h3 {
    font-size: 16px;
  }

  .requirements-list li,
  .bonus-list li,
  .benefits-list li {
    font-size: 14px;
    padding-left: 16px;
  }

  .tech-tag {
    font-size: 13px;
    padding: 3px 10px;
  }
}

/* 
==========================================
FILE UPLOAD STYLES
==========================================
*/

.file-upload-container {
  width: 100%;
}

.file-input {
  display: none;
}

.file-upload-area {
  width: 100%;
  min-height: 140px;
  background-color: var(--input-bg);
  border: 2px dashed rgba(13, 153, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.file-upload-area:hover {
  border-color: var(--accent-color);
  background-color: rgba(13, 153, 255, 0.05);
}

.file-upload-area.dragover {
  border-color: var(--accent-color);
  background-color: rgba(13, 153, 255, 0.1);
  transform: scale(1.02);
}

.file-upload-content {
  text-align: center;
  padding: 20px;
}

.file-upload-content i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: block;
}

.file-upload-content p {
  font-size: var(--font-size-regular);
  color: var(--text-primary);
  margin-bottom: 8px;
}

.browse-link {
  color: var(--accent-color);
  text-decoration: underline;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
}

.browse-link:hover {
  color: #0b87e0;
}

.file-upload-content small {
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.light-theme .file-upload-content small {
  color: var(--text-secondary-light);
}

/* File List */
.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid rgba(13, 153, 255, 0.2);
}

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

.file-icon {
  font-size: 18px;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.file-details {
  flex: 1;
}

.file-name {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: 2px;
  word-break: break-all;
}

.file-size {
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.light-theme .file-size {
  color: var(--text-secondary-light);
}

.file-remove {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.file-remove:hover {
  background-color: rgba(255, 77, 77, 0.1);
}

/* Upload Info */
.upload-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0px;
  font-size: var(--font-size-small);
  color: var(--text-secondary);
}

.light-theme .upload-info {
  color: var(--text-secondary-light);
}

.file-count {
  font-weight: var(--font-weight-medium);
}

.size-info {
  font-weight: var(--font-weight-medium);
}

.size-info.warning {
  color: #f39c12;
}

.size-info.error {
  color: var(--error-color);
}

/* 
==========================================
RECAPTCHA STYLES
==========================================
*/

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.g-recaptcha {
  transform: scale(0.85);
  transform-origin: center;
}

.recaptcha-error {
  margin-top: 8px;
}

/* 
==========================================
BUTTON STYLES
==========================================
*/

/* Additional spacing for note outside form */
.application-step .additional-info {
    margin-top: 30px;
    width: 100%;
}

@media screen and (max-width: 480px) {
    .application-step .additional-info {
        margin-top: 20px;
    }
}

.application-btn {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--accent-color);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-regular);
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 8px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.application-btn:hover {
  background-color: #0b87e0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 153, 255, 0.3);
}

.application-btn:disabled {
  background-color: rgba(13, 153, 255, 0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#loadingIcon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Default hidden utility for initial states */
.is-hidden { display: none !important; }
#loadingIcon { display: none; }

/* 
==========================================
SUCCESS PAGE STYLES
==========================================
*/

.success-container {
  width: 100%;
  max-width: 600px;
  text-align: center;
  padding: 0px 20px;
}

.success-icon {
    margin-bottom: 32px;
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background-color: rgba(13, 153, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-theme .success-icon {
    background-color: rgba(13, 153, 255, 0.08);
    border: 1px solid rgba(13, 153, 255, 0.2);
}

.success-icon i {
    font-size: 40px;
    color: var(--accent-color);
    animation: successPulse 1.5s ease-in-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-header {
  margin-bottom: 40px;
}

.success-header h1 {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.light-theme .success-header h1 {
  color: var(--text-primary-light);
}

.success-header p {
  font-size: var(--font-size-regular);
  line-height: var(--line-height-regular);
  color: var(--text-secondary);
}

.light-theme .success-header p {
  color: var(--text-secondary-light);
}

.success-details {
  margin-bottom: 40px;
  text-align: left;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
}

.light-theme .detail-item {
  background-color: var(--bg-secondary-light);
}

.detail-item i {
  font-size: 24px;
  color: var(--accent-color);
  margin-top: 4px;
  flex-shrink: 0;
}

.detail-text h3 {
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
  color: var(--text-primary);
}

.light-theme .detail-text h3 {
  color: var(--text-primary-light);
}

.detail-text p {
  font-size: var(--font-size-regular);
  line-height: var(--line-height-regular);
  color: var(--text-secondary);
}

.light-theme .detail-text p {
  color: var(--text-secondary-light);
}

.success-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: center;
}

.primary-btn,
.secondary-btn {
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-medium);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.primary-btn:hover {
  background-color: #0b87e0;
  border-color: #0b87e0;
  transform: translateY(-1px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--input-bg);
}

.light-theme .secondary-btn {
  color: var(--text-primary-light);
  border-color: var(--input-border-light);
}

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

.light-theme .secondary-btn:hover {
  background-color: var(--bg-secondary-light);
}

.additional-info {
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid rgba(13, 153, 255, 0.2);
}

.light-theme .additional-info {
  background-color: var(--bg-secondary-light);
}

.additional-info p {
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  margin: 0;
}

.light-theme .additional-info p {
  color: var(--text-secondary-light);
}

.additional-info a {
  color: var(--accent-color);
  text-decoration: none;
}

.additional-info a:hover {
  text-decoration: underline;
}

/* 
==========================================
ACCOUNT LINKS & SOCIAL STYLES
==========================================
*/

.account-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.back-link {
  color: var(--text-primary);
  font-size: var(--font-size-regular);
  font-weight: var(--font-weight-regular);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.light-theme .back-link {
  color: var(--text-primary-light);
}

.back-link:hover {
  color: var(--accent-color);
  background-color: var(--bg-secondary);
}

.light-theme .back-link:hover {
  background-color: var(--bg-secondary-light);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.light-theme .social-links a {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
}

.light-theme .social-links a:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.social-links a i {
  font-size: 22px;
}

/* Platform-specific hover styles */
.social-links a.telegram-link:hover {
  background-color: #1c86c9; 
  color: #ffffff;
}

.social-links a.instagram-link:hover {
  background-color: #bc2a8d; 
  color: #fbe1c2;
}

.social-links a.twitter-link:hover {
  background-color: #1c86c9; 
  color: #ffffff;
}

.social-links a.linkedin-link:hover {
  background-color: #0077B5; 
  color: #ffffff;
}

.social-links a.email-link:hover {
  background-color: #64748b;
  color: #ffffff;
}

.social-links a.discord-link:hover {
  background-color: #7289da; 
  color: #ffffff;
}

/* 
==========================================
MESSAGES STYLES
==========================================
*/

.messages {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 500px;
}

.alert {
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: var(--border-radius);
  font-size: var(--font-size-regular);
  text-align: center;
  animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background-color: var(--error-color);
  color: white;
}

.alert-success {
  background-color: #4CAF50;
  color: white;
}

.alert-warning {
  background-color: #ff9800;
  color: white;
}

.alert-info {
  background-color: var(--accent-color);
  color: white;
}

/* Error messages */
.error-message {
  margin-top: 8px;
  color: var(--error-color);
  font-size: 0.875rem;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 
==========================================
RESPONSIVE STYLES
==========================================
*/

@media screen and (min-width: 769px) { 
  .application-step {
    max-width: 550px; 
  }
}

@media screen and (max-width: 768px) {
  .careers-apply .container {
    padding: 0 16px;
  }
  /* Prevent header overlap on mobile */
  .careers-apply .main-content {
    padding-top: var(--spacing-xl);
  }
  
  .application-step {
    max-width: 100%;
  }

  .application-form {
    max-width: 100%;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .g-recaptcha {
    transform: scale(0.8);
  }
}

@media screen and (max-width: 480px) {
  /* Extra space below top bar on small phones */
  .careers-apply .main-content {
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
  }
  
  .application-header h1 {
    font-size: 28px;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .file-info {
    width: 100%;
  }

  .file-remove {
    align-self: flex-end;
  }

  .upload-info {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .success-icon i {
    font-size: 60px;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
  }

  .detail-item i {
    margin-top: 0;
    margin-bottom: 8px;
  }

  .g-recaptcha {
    transform: scale(0.75);
  }

  .application-form input,
  .application-form select {
    height: 48px;
    padding: 12px 14px;
  }

  .application-form textarea {
    min-height: 100px;
    padding: 12px 14px;
  }

  .application-btn {
    height: 52px;
    padding: 14px 18px;
  }
}


