/* Framework LLC - All rights reserved. */
      
@import url(https://cdn.framework.ge/fonts);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  font-family: Framework-Sans, sans-serif;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

:root {
  --background: #161616;
  --color: #FAFAFA;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: Framework-Sans-Caps;
  overflow-x: hidden;
}

body {
  background: var(--background);
  color: var(--color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.site-header {
  /* background: rgba(28, 28, 28, 0.95); */
  /* backdrop-filter: blur(10px); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  /* position: sticky; */
  /* top: 0;
  z-index: 1000; */
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

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

.logo-section {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo {
  height: 42px;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 10px;
}



.logo-main {
  font-size: 1.1rem;
  font-weight: 600;
  color: #FAFAFA;
  font-family: Framework-Sans-Caps, sans-serif;
  margin-bottom: -4px;
  
}

.logo-secondary {
  font-size: 0.8rem;
  color: #FAFAFA;
  font-weight: 500;
  /* font-family: Framework-Sans-Caps, sans-serif; */
}


/* Main Content */
.main-content {
  /* min-height: calc(100vh - 200px); */
  padding: 0;
  flex: 1;
}


/* No Jobs Message */
.no-jobs-message {
  text-align: center;
  padding: 80px 20px;
  background: #1F2123;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 600px;
}

.no-jobs-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.no-jobs-message h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FAFAFA;
}

.no-jobs-message p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
}


#job-list-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px;
  height: auto;
  overflow-y: auto;
  transition: opacity 0.5s ease;
}

#job-list-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 20px;
  margin-top: 10px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  width: 100%;
}

.job-card {
  background: #1F2123;
  padding: 25px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s, opacity 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: calc(var(--animation-order) * 0.1s);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.job-card:hover {
  transform: translateY(-5px);
  background: #2A2D30;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.job-card.ended,
.job-card.closed {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.job-card.closed:hover {
  transform: none;
  background: #1F2123;
  box-shadow: none;
}

.job-card h3 {
  margin-bottom: 10px;
  font-family: Framework-Sans-Caps, sans-serif;
  font-size: 1.3rem;
  color: #FAFAFA;
}

.job-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  line-height: 1.4;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.job-meta-item::before {
  content: "•";
  margin-right: 5px;
  color: #4CAF50;
}

.job-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin-left: auto;
}

.job-status.ended {
  background: rgba(255, 0, 0, 0.2);
  color: #ff6b6b;
}

.job-status.closed {
  background: rgba(255, 165, 0, 0.2);
  color: #ffa500;
}

#job-container {
  width: 100%;
  height: auto;
  display: none;
  grid-template-columns: 1fr;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 20px;
  overflow-y: auto;
}

h1, h2 {
  font-family: Framework-Sans-Caps, sans-serif;
  margin-bottom: 20px;
}

h2 span {
  font-family: Framework-Sans-Caps, sans-serif;
}



h3 {
  font-size: 1.3rem;
  font-family: Framework-Sans;
  font-weight: 500;
}

.job-details {
  background: #1F2123;
  padding: 20px;
  border-radius: 20px;
  height: auto;
  transition: height 0.5s ease;
  width: 100%;
}

.application-form {
  background: #1F2123;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: auto;
  transition: height 0.5s ease;
  width: 100%;
}

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

.form-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #FAFAFA;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: none;
  background: #2A2C2E;
  color: var(--color);
  transition: box-shadow 0.3s;
  font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

.phone-input-container {
  display: flex;
  align-items: center;
  background: #2A2C2E;
  border-radius: 12px;
  padding: 0 15px;
}

.phone-prefix {
  color: rgba(255, 255, 255, 0.7);
  margin-right: 5px;
}

.phone-input-container input {
  background: transparent;
  border: none;
  padding: 12px 0;
  width: 100%;
}

.phone-input-container input:focus {
  box-shadow: none;
}

.submit-btn {
  background: #007BFF;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  font-family: Framework-Sans-Caps, sans-serif;
}

.submit-btn:hover {
  background: #0069d9;
  transform: translateY(-2px);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  color: var(--color);
  cursor: pointer;
  transition: transform 0.3s;
  font-size: 1.5rem;
  margin-right: 15px;
  padding: 0;
  background: none;
  border: none;
}

.back-btn:hover {
  transform: translateX(-3px);
}

.job-details h2 {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.loading {
  text-align: center;
  padding: 20px;
  font-size: 1.2rem;
}

.success-message {
  background: #007BFF;
  color: white;
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
  text-align: center;
  display: none;
  animation: fadeIn 0.5s;
}

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



@media (min-width: 768px) {
  #job-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .job-list {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .job-details, .application-form {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0;
    background: transparent;
    height: auto;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  .back-btn {
    position: sticky;
    margin: 15px;
  }

  #job-list-container, #job-container {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .job-item, .job-details, .application-form {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .container {
    border-radius: 20px;
  }

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

  .form-group input, .form-group textarea {
    padding: 10px 12px;
  }

  .submit-btn {
    padding: 12px 24px;
    margin: 0;
  }

  h1 {
   
    margin-bottom: 0;
    text-align: left;
    margin-left: 0;
    width: 100%;
  }

  #job-list-container h1 {
    text-align: left;
    margin-left: 0;
    width: 100%;
    margin-bottom: 0;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .job-meta-details {
    margin: 20px -10px !important;
  }

  h2 span {
    font-size: 1.2rem;
  }
}

/* #applicationForm, .application-form {
  box-sizing: border-box;
} */

.job-meta-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px -10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
}

.job-meta-details .job-meta-item {
  display: flex;
  gap: 10px;
  font-size: 1rem;
}

.job-meta-details .job-meta-item::before {
  display: none;
}

.job-meta-details strong {
  color: rgba(255, 255, 255, 0.7);
  min-width: 80px;
}

.job-description-text {
  /* white-space: pre-line; */
  /* line-height: 1.6; */
  font-size: 1.1rem;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.custom-file-input {
    display: flex;
}

.file-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 18px 12px 15px;
    border-radius: 12px;
    background: #2A2C2E;
    color: var(--color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.file-label:hover {
    background: #323436;
    border-color: rgba(255, 255, 255, 0.3);
}

.button-text {
    font-size: 14px;
}

.file-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #007BFF;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #FAFAFA;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

.file-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 14px;
    font-size: 0.9rem;
    color: #007BFF;
}

.file-pill .remove-btn {
    background: none;
    border: none;
    color: #007BFF;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-pill .remove-btn:hover {
    color: #0069d9;
}

.success-page {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    animation: fadeIn 0.5s;
}

.success-icon {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(0, 123, 255, 0.3);
    border-top: 4px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.success-text {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007BFF;
}

.success-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .job-card {
    padding: 20px;
    min-height: 180px;
  }
  
  #job-list-container {
    padding: 15px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .job-card {
    padding: 18px;
    min-height: 160px;
  }
  
  .job-card h3 {
    font-size: 1.2rem;
  }
  
  .job-meta {
    gap: 8px;
  }
  
  .job-meta-item {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* Job Page Styles */
.job-page-container {
  /* max-width: 1000px; */
  margin: 0 auto;
  padding: 20px 40px;
}

.back-to-jobs {
  margin-bottom: 30px;
}

.back-link {
  color: #FAFAFA;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  transition: color 0.3s;
}

.back-link:hover {
  color: #007BFF;
}

.job-details-page {
  background: #1F2123;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-details-page h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  text-align: left;
  color: #FAFAFA;
}

.job-details-page .job-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

.job-meta-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.job-meta-details .job-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0;
}

.job-meta-details .job-meta-item strong {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  text-align: center;
}

.job-meta-details .job-meta-item span {
  color: #FAFAFA;
  font-size: 0.8rem;
  font-family: Framework-Sans-Caps, sans-serif;
}

.job-description-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: .9rem;
}

.job-closed-notice {
  background: #1F2123;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.notice-text {
  font-size: 1.5rem;
  color: #FAFAFA;
  margin-bottom: 15px;
}

.notice-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.notice-subtext a {
  color: #007BFF;
  text-decoration: none;
}

.notice-subtext a:hover {
  text-decoration: underline;
}

/* Two-column layout for job page */
.job-content-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
  align-items: start;
}

.job-description-section {
  width: 100%;
}

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

.application-form-section .application-form {
  position: sticky;
  top: 30px;
  margin-bottom: 0;
}

/* Responsive adjustments for job page */
@media (max-width: 768px) {
  .job-content-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .application-form-section .application-form {
    position: static;
  }
  
  .job-page-container {
    padding: 15px;
  }
  
  .job-details-page {
    padding: 20px;
  }
  
  .job-details-page h1 {
    font-size: 1.3rem;
  }
  
  .job-meta-details {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .job-closed-notice {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .job-details-page h1 {
    font-size: 1rem;
  }
  
  .job-details-page .job-subtitle {
    font-size: 0.6rem;
  }
  
  .job-description-text {
    font-size: 1rem;
  }
}

/* Footer Styles */
.site-footer {
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}




.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #FAFAFA;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .page-hero {
    padding: 40px 20px;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .footer-content {
    padding: 30px 0 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

/* Nav App */
.nav-app {
  background: #2A2D30;
  border-radius: 13px;
  padding: 8px 6px 10px 6px;
}

.nav-app .nav-link {
  padding: 8px 16px;
  color: #fff;
  border: none;
  background: none;
  text-decoration: none;
  font-family: Framework-Sans-Caps, sans-serif;
  font-size: 13px;
}

.nav-app .nav-link.active {
  background: #1F2123;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04), 0 3px 1px rgba(0, 0, 0, .04), 0 3px 8px rgba(0, 0, 0, .12);
  border: none;
}