@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
@charset "UTF-8";
/* Import project configs */
/***** FONTS ******/
/***** Colors ******/
/***** Transition ******/
/***** Breakpoints ******/
/* Login Page Styles */
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.login-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  height: 100vh;
}

.text-green {
  color: #008060;
  font-weight: bold;
}

/* Reset Password Specific Styles */
.alert {
  -webkit-border-radius: 8px;
          border-radius: 8px;
  border: none;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.alert.alert-success {
  background: rgba(0, 128, 96, 0.1);
  color: #008060;
  border-left: 4px solid #008060;
}

.form-control[readonly] {
  background-color: #f8f9fa;
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-login i {
  margin-right: 0.5rem;
}

.forgot-password a {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  -webkit-transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
  transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
}
.forgot-password a:hover {
  color: #008060;
}
.forgot-password a i {
  margin-right: 0.5rem;
}

/* Slider Section (70%) */
.slider-section {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 70%;
          flex: 0 0 70%;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
  overflow: hidden;
}
.slider-section .swiper {
  width: 100%;
  height: 100%;
}
.slider-section .swiper-slide {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

.slider-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: left;
  padding: 3rem 10rem 3rem 3rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  height: 100%;
  margin-left: 0;
}

.slider-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: inherit;
}

.slider-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 400;
}
.slider-description p {
  margin-bottom: 1rem;
}
.slider-description p:last-child {
  margin-bottom: 0;
}
.slider-description ul, .slider-description ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.slider-description a {
  color: inherit;
  text-decoration: underline;
}
.slider-description a:hover {
  opacity: 0.8;
}
.slider-description .wp-block-columns {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
          flex-wrap: nowrap;
  gap: 2rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .slider-description .wp-block-columns {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
  }
}
.slider-description .wp-block-column {
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
          flex-grow: 0;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}
.slider-description .wp-block-column:not([style*=flex-basis]) {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
          flex: 1;
}
.slider-description .wp-block-image {
  margin: 0;
  max-width: 100%;
}
.slider-description .wp-block-image img {
  max-width: 100%;
  height: auto;
  -webkit-border-radius: 8px;
          border-radius: 8px;
}
.slider-description figure {
  margin: 0;
}

.slider-cta {
  background: white;
  color: #1a1a2e;
  border: none;
  padding: 16px 32px;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.slider-cta:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #1a1a2e;
  background: #f8f9fa;
}

@-webkit-keyframes slideInLeft {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.swiper-pagination-bullet {
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-border-radius: 2px;
          border-radius: 2px;
  opacity: 1;
  margin: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #008060;
  -webkit-transform: scaleY(1.5);
          transform: scaleY(1.5);
}

/* Swiper Pagination */
.swiper-pagination {
  position: absolute;
  bottom: 2rem;
  left: 0;
  z-index: 4;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 12px;
  width: 100%;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
          justify-content: flex-start;
}

/* Login Section (30%) — séparation nette vs le slider (fonds blancs : ombre seule trop faible) */
.login-section {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 30%;
          flex: 0 0 30%;
  background: #ffffff;
  position: relative;
  z-index: 2;
  overflow: visible;
  -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.055), -5px 0 14px rgba(0, 0, 0, 0.065), -14px 0 28px rgba(0, 0, 0, 0.05);
          box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.055), -5px 0 14px rgba(0, 0, 0, 0.065), -14px 0 28px rgba(0, 0, 0, 0.05);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  padding: 2rem;
  /* bandeau dégradé dans la colonne slider, au‑dessus de son fond (z-index parent) */
}
.login-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 100%;
  width: 14px;
  height: 100%;
  pointer-events: none;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, rgba(0, 0, 0, 0.03)), to(rgba(0, 0, 0, 0.07)));
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.03) 50%, rgba(0, 0, 0, 0.07) 100%);
}

.checkbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  margin-bottom: 1rem;
}
.checkbox label {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  margin: 0;
}
.checkbox label input[type=checkbox] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #008060;
}

.login-form {
  max-width: 350px;
  margin: 0 auto;
  width: 100%;
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo img {
  max-height: 50px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  font-size: 1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #f8f9fa;
  position: relative;
  z-index: 1;
}
.form-control:focus {
  outline: none;
  border-color: #008060;
  background: white;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.1);
          box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.1);
}
.form-control.is-invalid {
  border-color: #dc3545;
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #666;
  z-index: 10;
  pointer-events: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.form-control.with-icon {
  padding-left: 40px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  z-index: 10;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.password-toggle:hover {
  color: #333;
}

.btn-login {
  width: 100%;
  background: #008060;
  color: white;
  border: none;
  padding: 12px;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  -webkit-transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
  transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
  margin-bottom: 1rem;
}
.btn-login:hover {
  background: #005741;
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}

.forgot-password {
  text-align: center;
  margin-bottom: 2rem;
}
.forgot-password a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
  transition: all 0.4s cubic-bezier(0.55, 0.22, 0.36, 0.9);
}
.forgot-password a:hover {
  color: #008060;
}
.forgot-password a i {
  margin-right: 0.5rem;
}

.login-footer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  color: #999;
  text-align: right;
  line-height: 1.4;
}
.login-footer a {
  color: #008060;
  text-decoration: none;
}
.login-footer a:hover {
  text-decoration: underline;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .slider-section {
    display: none;
  }
  .login-section {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
            flex: 1;
    width: 100%;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .login-section::before {
    display: none;
  }
}
@media (max-width: 992px) {
  .login-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
            flex-direction: column;
  }
  .slider-section {
    display: none;
  }
  .login-section {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
            flex: 1;
    width: 100%;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .login-section::before {
    display: none;
  }
  .slider-title {
    font-size: 2.5rem;
  }
  .slider-content {
    padding: 2rem 1rem 4rem 2rem;
  }
  .swiper-pagination {
    left: 0;
  }
}
