:root {
    --primary-color: #ffeb3b;
    --secondary-color: #ffd700;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: url(./image/i.jpg) center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.logo img,
.logo-left img {
    width: 120px;
    transition: transform 0.3s ease;
}

.logo img:hover,
.logo-left img:hover {
    transform: scale(1.05);
}

.form-div {
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: var(--glass-bg);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.to-form {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.right {
    background: url(./image/city2.jpg) center/cover no-repeat;
    height: 100%;
    min-height: 600px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: relative;
}

.right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(2px);
}

.right>* {
    position: relative;
    z-index: 1;
}

.right p {
    margin: 0 127px;
    text-align: center;
}

.left {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    text-align: center;
    color: #000000;
    margin: auto 70px;
    background: var(--white);
}

.welcome {
    color: #333;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-left {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

.filds {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    width: 100%;
    padding: 7px 5px 5px 5px;
}

.filds input {
    border: none;
    border-radius: 31px;
    outline: none;
    background: none;
    font-size: 14px;
    margin-left: 12px;
}

.user,
.pass {
    position: relative;
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.user:focus-within,
.pass:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.2);
}

.user-input,
.pass-input {
    width: calc(100% - 40px);
    height: 100%;
    border: none;
    background: none;
    padding: 0 10px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.user-input:focus,
.pass-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.2);
    outline: none;
}

.pass-input {
    filter: blur(2px);
}

.filds ::-webkit-input-placeholder {
    color: #1816168c;
    padding-left: 7px;
    padding-bottom: 9px;
}

.but button {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 235, 59, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.but button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(255, 235, 59, 0.4);
}

.svg-icon {
    width: 20px;
    height: 20px;
    fill: #666;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.link {
    width: 100%;
    text-align: center;
    margin: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0 10px;
}

.link a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link .or {
    margin: 0 15px;
    color: #aaa;
    flex-shrink: 0;
}

.link a:hover {
    color: var(--primary-color);
}

.or {
    margin: 14px;
    color: #aaa;
}

.sho {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.sho .svg-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sho .svg-icon:hover {
    fill: #ffeb3b;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .to-form {
        grid-template-columns: 1fr;
    }

    .right {
        display: none;
    }

    .left {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .form-div {
        min-height: auto;
    }

    .left {
        padding: 20px;
        margin: 0px;
    }

    .user,
    .pass {
        height: 40px;
    }

    .but button {
        height: 40px;
    }

    .link {
        flex-direction: column;
        gap: 15px;
    }

    .link .or {
        margin: 5px 0;
    }
}