 *,
 *::before,
 *::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
 }

 :root {
   --purple: #6C63FF;
   --purple-hover: #5a52e0;
   --text-dark: #1a1a2e;
   --text-muted: #8a8a9a;
   --border: #e2e2ef;
   --white: #ffffff;
   --input-bg: #fafafa;
   --toggle-bg: #6C63FF;
 }

 :root {
   --primary: #0052cc;
   --primary-hover: #0747a6;
   --sidebar-bg: #f4f5f7;
   --text-main: #172b4d;
   --text-subtle: #6b778c;
   --white: #ffffff;
   --border: #dfe1e6;
   --overlay: rgba(9, 30, 66, 0.5);
 }

 body {
   font-family: 'Inter', sans-serif;
   background: var(--white);
   height: 100vh;
   overflow: hidden;
 }

 .content {
   display: flex;
   flex-direction: row;
   height: 100vh;
 }

 /* ─── LEFT PANEL ─── */
 .img-container {
   width: 40%;
   height: 100%;
   position: relative;
   overflow: hidden;
   background-image:
     linear-gradient(160deg, rgba(0, 82, 204, 0.274) 0%, rgba(0, 40, 110, 0.685) 100%),
     url("https://www.mnprogram.com/wp-content/uploads/2024/02/Tipos-de-abogados-1-1024x576.webp");
   background-size: cover;
   background-position: center;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   padding: 32px 36px;
   color: #fff;
 }

 .logo {
   display: flex;
   align-items: center;
   gap: 10px;
   font-size: 15px;
   font-weight: 600;
   letter-spacing: -0.01em;
 }

 .logo-icon {
   width: 30px;
   height: 30px;
   background: rgba(255, 255, 255, 0.15);
   border-radius: 8px;
   display: grid;
   place-items: center;
   font-size: 16px;
 }

 .quote-block {
   display: flex;
   flex-direction: column;
   gap: 16px;
 }

 .quote-text {
   font-size: clamp(20px, 2.4vw, 26px);
   font-weight: 600;
   line-height: 1.35;
   letter-spacing: -0.02em;
   color: #fff;
 }

 .quote-author {
   display: flex;
   flex-direction: column;
   gap: 3px;
 }

 .author-name {
   font-size: 13px;
   font-weight: 600;
   color: #fff;
 }

 .author-role {
   font-size: 12px;
   color: rgba(255, 255, 255, 0.65);
   font-weight: 400;
 }

 .container {
   width: 60%;
   height: 100%;
   background: var(--white);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 48px 80px;
 }

 .form-wrapper {
   width: 100%;
   max-width: 380px;
   display: flex;
   flex-direction: column;
   gap: 0;
 }

 .form-header {
   margin-bottom: 28px;
 }

 .form-header h2 {
   font-size: 26px;
   font-weight: 700;
   color: var(--text-dark);
   letter-spacing: -0.03em;
   margin-bottom: 8px;
 }

 .form-header p {
   font-size: 13px;
   color: var(--text-muted);
   line-height: 1.5;
   font-weight: 400;
 }

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

 .field-group {
   display: flex;
   flex-direction: column;
   gap: 5px;
 }

 .field-label {
   font-size: 11.5px;
   font-weight: 500;
   color: var(--text-muted);
   letter-spacing: 0.01em;
   text-transform: uppercase;
 }

 .input {
   width: 100%;
   padding: 10px 13px;
   font-family: 'Inter', sans-serif;
   font-size: 14px;
   font-weight: 400;
   color: var(--text-dark);
   background: var(--input-bg);
   border: 1.5px solid var(--border);
   border-radius: 9px;
   outline: none;
   transition: border-color 0.18s, box-shadow 0.18s;
 }

 .input:focus {
   border-color: var(--primary);
   box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.13);
   background: #fff;
 }

 .input::placeholder {
   color: #c0c0ce;
 }

 .forgot-link {
   font-size: 12.5px;
   color: var(--primary);
   text-decoration: none;
   font-weight: 500;
   margin-top: -4px;
   display: inline-block;
   transition: opacity 0.15s;
 }

 .forgot-link:hover {
   opacity: 0.75;
 }

 .remember-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-top: 2px;
 }

 .remember-label {
   font-size: 13px;
   color: var(--text-dark);
   font-weight: 400;
 }

 .toggle {
   position: relative;
   width: 42px;
   height: 24px;
 }

 .toggle input {
   opacity: 0;
   width: 0;
   height: 0;
 }

 .toggle-slider {
   position: absolute;
   inset: 0;
   background: #dde0f0;
   border-radius: 50px;
   cursor: pointer;
   transition: background 0.22s;
 }

 .toggle-slider::before {
   content: '';
   position: absolute;
   width: 18px;
   height: 18px;
   left: 3px;
   top: 3px;
   background: #fff;
   border-radius: 50%;
   transition: transform 0.22s;
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
 }

 .toggle input:checked+.toggle-slider {
   background: var(--primary);
 }

 .toggle input:checked+.toggle-slider::before {
   transform: translateX(18px);
 }

 .btn-primary {
   width: 100%;
   padding: 12px;
   background: var(--primary);
   color: #fff;
   font-family: 'Inter', sans-serif;
   font-size: 14.5px;
   font-weight: 600;
   border: none;
   border-radius: 10px;
   cursor: pointer;
   transition: background 0.18s, transform 0.12s;
   margin-top: 6px;
   letter-spacing: -0.01em;
 }

 .btn-primary:hover {
   background: var(--primary-hover);
   transform: translateY(-1px);
 }

 .btn-primary:active {
   transform: translateY(0);
 }

 .divider {
   display: flex;
   align-items: center;
   gap: 12px;
   margin: 18px 0 14px;
 }

 .divider::before,
 .divider::after {
   content: '';
   flex: 1;
   height: 1px;
   background: var(--border);
 }

 .divider span {
   font-size: 12px;
   color: var(--text-muted);
   font-weight: 400;
 }

 .btn-google {
   width: 100%;
   padding: 11px;
   background: var(--white);
   border: 1.5px solid var(--border);
   border-radius: 10px;
   font-family: 'Inter', sans-serif;
   font-size: 14px;
   font-weight: 500;
   color: var(--text-dark);
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   transition: border-color 0.18s, background 0.18s;
 }

 .btn-google:hover {
   border-color: #c0c0d0;
   background: #f7f7fc;
 }

 .google-icon {
   width: 18px;
   height: 18px;
 }

 .signup-row {
   text-align: center;
   margin-top: 20px;
   font-size: 13px;
   color: var(--text-muted);
 }

 .signup-row a {
   color: var(--primary);
   text-decoration: none;
   font-weight: 600;
   transition: opacity 0.15s;
 }

 .signup-row a:hover {
   opacity: 0.75;
 }

 @media (max-width: 1024px) {

   body,
   html {
     height: 100%;
   }

   .content {
     flex-direction: column !important;
     height: 100vh !important;
     min-height: 100vh;
   }

   .img-container {
     width: 100% !important;
     height: 40vh;
     padding: 32px;
     justify-content: space-between;
     order: 1;
     flex-shrink: 0;
   }

   .container {
     width: 100% !important;
     flex: 1;
     height: auto;
     padding: 52px 48px;
     order: 2;
     overflow-y: auto;
   }
 }

 @media (max-width: 860px) {
   body {
     overflow: auto;
     height: auto;
   }

   .content {
     flex-direction: column !important;
     height: auto !important;
     min-height: 100vh;
   }

   .img-container {
     width: 100% !important;
     height: 340px;
     padding: 32px;
     justify-content: space-between;
   }

   .quote-text {
     font-size: 20px;
     line-height: 1.4;
   }

   .author-name {
     font-size: 13px;
   }

   .author-role {
     font-size: 12px;
   }

   .container {
     width: 100% !important;
     height: auto;
     padding: 52px 48px 64px;
     justify-content: flex-start;
   }

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

   .form-header {
     margin-bottom: 36px;
   }

   .form-header h2 {
     font-size: 28px;
     margin-bottom: 10px;
   }

   .form-header p {
     font-size: 15px;
   }

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

   .input {
     padding: 13px 16px;
     font-size: 15px;
   }

   .btn-primary {
     padding: 14px;
     font-size: 16px;
     margin-top: 10px;
   }

   .btn-google {
     padding: 13px;
     font-size: 15px;
   }

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

   .signup-row {
     font-size: 14px;
     margin-top: 28px;
   }

   .form {
     gap: 18px;
   }
 }

 @media (max-width: 480px) {
   .img-container {
     height: 280px;
     padding: 24px;
   }

   .container {
     padding: 40px 28px 52px;
   }
 }