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

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('img/back.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Roboto', sans-serif;
    padding: 10px 0;
}

.container {
    display: flex;
    width: 900px;
    height: 550px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    opacity : 0.85;
    overflow: hidden;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: relative;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.sinal-logo {
    height: 40px;
    display: block;
}

.eye-container {
    margin-top: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-frame {
    width: 280px;
    height: 280px;
    position: relative;
}

.eye-frame::before,
.eye-frame::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid #0a3b8c;
}

.eye-frame::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.eye-frame::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.eye-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.title {
    color: #0a3b8c;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-card {
    width: 100%;
    max-width: 350px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.zeiss-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.zeiss-logo {
    height: 60px;
}

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

label {
    display: block;
    color: #0a3b8c;
    font-weight: 500;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f0f5ff;
}

.password-container {
    position: relative;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #0a3b8c;
    font-size: 12px;
    cursor: pointer;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #0a3b8c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
}

.login-button:hover {
    background-color: #072d6a;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #0a3b8c;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.form-message {
  height: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-400, #555);
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: #3f3f3f;
  color: #ffffff;
  padding: 1rem;
  border-left: 4px solid #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 300px;
  animation: slideIn 0.3s ease forwards, fadeOut 0.3s ease 2.7s forwards;
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.toast.success {
  border-left-color: #10b981;
  background-color: #ecfdf5;
  color: #065f46;
}

.toast.error {
  border-left-color: #ef4444;
  background-color: #fee2e2;
  color: #991b1b;
}

.toast-icon {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.privacy-info {
    margin-right:185px;
    background-color: #f6f6f6;
    padding: 1px 1px;
    font-size: 12px;
    color: #333;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    white-space: nowrap;
}

.privacy-info input[type="checkbox"] {
    margin-top: 0px;
    cursor: pointer;
    width: auto;
    padding: 0;
    border: none;
    background: none;
}

.privacy-info label {
    line-height: 1.5;
    cursor: pointer;
    display: inline;
    font-weight: normal;
    margin-bottom: 0;
    color: #333;
}

@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .container {
        flex-direction: column;
        width: 90%;
        max-width: 450px;
        height: auto;
        margin: 0 auto;
        padding: 0;
        opacity: 0.85;
    }

    .left-section, .right-section {
        width: 100%;
        flex-basis: auto;
        padding: 20px;
        min-height: auto;
    }

    .left-section {
        align-items: center;
        order: 1;
    }
    .right-section {
        order: 2;
    }

    .logo-container {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 10;
    }

    .sinal-logo {
        height: 35px;
    }

    .eye-container {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .eye-frame {
        width: 180px;
        height: 180px;
    }

    .eye-frame::before,
    .eye-frame::after {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .title {
        font-size: 20px;
        margin-top: 15px;
    }

    .login-card {
        padding: 20px;
        max-width: 100%;
        border-radius: 10px;
    }

    .zeiss-logo-container {
        margin-bottom: 25px;
    }
    .zeiss-logo {
        height: 50px;
    }

    label {
        font-size: 14px;
    }

    input {
        padding: 10px;
        font-size: 14px;
    }

    .login-button {
        padding: 10px;
        font-size: 15px;
    }

    .forgot-password a {
        font-size: 13px;
    }

    .privacy-info {
        margin-right: 0;
        white-space: normal;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        margin-top: 10px;
        margin-bottom: 15px;
        gap: 8px;
    }

    .privacy-info input[type="checkbox"] {
        width: auto;
        height: auto;
        padding: 0;
        margin-top: 2px;
        border: none;
        background: none;
        flex-shrink: 0;
    }

    .privacy-info label {
        display: inline;
        font-weight: normal;
        color: #333;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: auto;
        max-width: calc(100% - 2rem);
    }
    .toast {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        opacity: 0.85;
    }

    .left-section, .right-section {
        padding: 15px;
    }

    .logo-container {
        top: 10px;
        left: 10px;
    }

    .sinal-logo {
        height: 30px;
    }

    .eye-container {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .eye-frame {
        width: 140px;
        height: 140px;
    }

    .eye-frame::before,
    .eye-frame::after {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }

    .title {
        font-size: 18px;
        margin-top: 10px;
    }

    .login-card {
        padding: 15px;
        border-radius: 8px;
    }

    .zeiss-logo-container{
        margin-bottom: 20px;
    }
    .zeiss-logo {
        height: 40px;
    }

    label {
        font-size: 13px;
    }

    input {
        padding: 10px 8px;
        font-size: 13px;
    }
    .show-password {
        font-size: 11px;
        right: 8px;
    }

    .login-button {
        padding: 10px 8px;
        font-size: 14px;
    }

    .forgot-password a {
        font-size: 12px;
    }

    .privacy-info {
        padding: 8px;
        font-size: 11px;
        gap: 5px;
    }
    .privacy-info input[type="checkbox"] {
        margin-top: 1px;
    }
    .toast {
        font-size: 13px;
    }
}