/* JobsLine Modern CSS Styles */

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

body {
  font-family: 'Ubuntu Condensed', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
}

a {
  color: #2c7be5;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #1a56a8;
  text-decoration: underline;
}

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Grid System */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.col {
  float: left;
  padding: 0 15px;
}

/* 12-column grid */
.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.66%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

/* Header Styles */
#header-wrapper {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

#logo {
  font-size: 2rem;
  font-weight: 700;
  color: #2c7be5;
  text-decoration: none;
}

#nav {
  display: flex;
  gap: 20px;
}

#nav a {
  color: #333;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#nav a:hover {
  background-color: #f0f4f8;
  text-decoration: none;
}

/* Main Content Area */
#main {
  padding: 30px 0;
}

.main-row {
  display: flex;
  flex-wrap: wrap;
}

/* Sidebar */
section {
  margin-bottom: 30px;
}

section h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eaedf0;
  color: #4a5568;
}

.small-image-list {
  list-style: none;
}

.small-image-list li {
  margin-bottom: 15px;
}

.link-list {
  list-style: none;
}

.link-list li {
  margin-bottom: 10px;
}

.link-list a {
  display: block;
  padding: 8px 0;
  color: #4a5568;
  transition: all 0.3s ease;
}

.link-list a:hover {
  color: #2c7be5;
  padding-left: 5px;
  text-decoration: none;
}

/* Job Search Form */
.search-form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.search-form input[type="text"] {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.search-form input[type="submit"] {
  background-color: #2c7be5;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-form input[type="submit"]:hover {
  background-color: #1a56a8;
}

/* Job Listings */
.job-listing {
  background-color: white;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.job-listing:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.job-title {
  font-size: 1.4rem;
  color: #2c7be5;
  margin-bottom: 10px;
}

.job-company {
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 5px;
}

.job-location {
  color: #718096;
  margin-bottom: 15px;
}

.job-description {
  margin-bottom: 15px;
  color: #4a5568;
}

.job-date {
  color: #718096;
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid #eaedf0;
}

.pagination a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #f0f4f8;
  border-radius: 4px;
  font-weight: 600;
  color: #4a5568;
}

.pagination a:hover {
  background-color: #e2e8f0;
  text-decoration: none;
}

.pagination-current {
  font-weight: 600;
  color: #2c7be5;
}

.pagination select {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
}

/* Footer */
#footer-wrapper {
  background-color: #2d3748;
  color: white;
  padding: 50px 0 20px;
}

#footer-wrapper h2 {
  color: white;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-wrapper .link-list li {
  margin-bottom: 5px;
}

#footer-wrapper .link-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

#footer-wrapper .link-list a:hover {
  color: white;
}

#copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.9rem;
}

#copyright a {
  color: rgba(255, 255, 255, 0.7);
}

#copyright a:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .col-4, .col-8 {
    width: 100%;
  }
  
  .col-4 {
    margin-bottom: 30px;
  }
  
  #header {
    flex-direction: column;
  }
  
  #logo {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  #nav {
    flex-direction: column;
    gap: 5px;
  }
  
  .col-2 {
    width: 33.33%;
  }
  
  .job-listing {
    padding: 15px;
  }
  
  .job-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .col-2 {
    width: 50%;
  }
  
  .pagination {
    flex-direction: column;
    gap: 15px;
  }
  
  #footer-wrapper h2 {
    font-size: 1.2rem;
  }
}

/* Modern Components */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 5px;
  background-color: #e2e8f0;
  color: #4a5568;
}

.badge-primary {
  background-color: #2c7be5;
  color: white;
}

.badge-success {
  background-color: #10b981;
  color: white;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2d3748;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #2c7be5;
  color: white;
}

.btn-primary:hover {
  background-color: #1a56a8;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #4a5568;
}

.btn-outline:hover {
  background-color: #f0f4f8;
  text-decoration: none;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.text-muted {
  color: #718096;
}

.bg-light {
  background-color: #f8fafc;
}

.rounded {
  border-radius: 4px;
}

.shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.d-flex {
  display: flex;
}

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

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}
