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

body {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #f4f6fa;
    overflow: hidden;
}

/* Chap panel */
.left-panel {
    width: 50%;
    background: linear-gradient(135deg, #0c3049, #176b87, #20a79b);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
}

.left-content {
    max-width: 480px;
    text-align: left;
}

.platform-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.platform-highlight {
    font-size: 16px;
    font-weight: 500;
    color: #e5f7f7;
    margin-bottom: 25px;
    opacity: 0.95;
}

.feature-divider {
    width: 70px;
    height: 3px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 25px;
}

.platform-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: #f0f9fa;
    margin-bottom: 18px;
}

.platform-extra {
    font-size: 14px;
    color: #d9f3f3;
    line-height: 1.6;
    opacity: 0.9;
}


.stats {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    font-weight: 500;
    color: #ccf1ec;
    flex-wrap: wrap;
}

.stats div {
    font-size: 14px;
}

/* O‘ng panel */
.right-panel {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.login-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 30px 35px;
    margin: 0 10px;
}

.login-card img {
    display: block;
    margin: 0 auto 15px auto;
    width: 70px;
}

.login-card h2 {
    text-align: center;
    font-weight: 600;
    color: #0f3d3e;
    margin-bottom: 5px;
}

.login-card p {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.form-group input {
    padding: 12px;
    border: 1px solid #cfd4e2;
    border-radius: 8px;
    transition: 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #187b8b;
    background: #f7fafa;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #187b8b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: #115a61;
}

.alt-links {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.alt-links a {
    color: #187b8b;
    text-decoration: none;
    font-weight: 500;
}

.hemis-btn {
    margin-top: 15px;
    border: 1px solid #187b8b;
    background: white;
    color: #187b8b;
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    transition: 0.3s ease;
    cursor: pointer;
}

.hemis-btn:hover {
    background: #e8f5f6;
}

footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 25px;
}

/* Responsive: tablet va kichik ekranlar uchun */
@media (max-width: 1024px) {
    .left-panel {
        display: none;
    }

    body {
        justify-content: center;
        align-items: center;
        background: #ffffff;
    }

    .right-panel {
        width: 100%;
        justify-content: center;
    }

    /*.login-card {*/
    /*    box-shadow: none;*/
    /*}*/
}

/* Asosiy konteyner */
.icon-input {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

/* Icon o‘rni */
.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

.input-icon.left {
    left: 12px;
}

.input-icon.right {
    right: 12px;
    cursor: pointer;
}

/* Input stili */
.icon-input input {
    width: 100%;
    padding: 10px 40px; /* ikki tomonda joy qoldiramiz */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.icon-input input:focus {
    border-color: #4b8bf4;
    box-shadow: 0 0 3px rgba(75, 139, 244, 0.4);
}

.toggle-password:hover {
    color: #111;
}





/* Toast container - yuqori o‘ngda */
#toast-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Toast asosiy dizayni */
.toast-message {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 15px;
    min-width: 220px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Chiqarilganda animatsiya */
.toast-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Xabar turlari uchun ranglar */
.toast-message.success {
    background-color: #28a745; /* Yashil */
}

.toast-message.error {
    background-color: #dc3545; /* Qizil */
}

.toast-message.warning {
    background-color: #ffc107; /* Sariq */
    color: #333;
}

.toast-message.info {
    background-color: #17a2b8; /* Moviy */
}