@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Istok+Web:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f8f8f8;
}

.container {
    display: flex;
    width: 900px;
    height: 500px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid black;
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #FFA000, #FFEB3B);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.left-section img {
    width: 100%;
    max-width: 350px;
}

.right-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 60px;
    height: auto;
}

h1 {
    font-family: 'Istok Web', sans-serif;
    font-weight: 700;
    color: black;
    margin-bottom: 20px;
    text-align: center;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

input::placeholder {
    color: #AFAFAF;
}

.password-container {
    position: relative;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.toggle-password-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    z-index: 2;
}

.toggle-password-icon:hover {
    color: #333;
}

button {
    width: 100%;
    background: #FFFFFF;
    color: #FF9500;
    border: 2px solid #FF9500;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #FF9500;
    color: white;
}

p {
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}

p a {
    color: #B76CB8;
    text-decoration: none;
    font-weight: 600;
}

p a:hover {
    text-decoration: underline;
}

.alert {
    margin: 15px 0;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.alert-success {
    background-color: #d1f0dc;
    color: #256029;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #fbeaea;
    color: #a94442;
    border-left: 4px solid #e74c3c;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .left-section {
        display: none;
    }

    .right-section {
        padding: 30px;
    }

    .logo {
        top: 10px;
        right: 15px;
        width: 50px;
    }
}
