* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #052845;
    color: #fff;
}

.container {
    display: flex;
    height: 100vh;
    position:fixed;
    width:100%;
    top:0;
}

/* LEFT PANEL */

.left-panel {
     background: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470') center/cover no-repeat;
    width: 45%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 0px 50px 50px 0;
    
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 200px;
}

.back-btn {
    background: rgba(5, 40, 69,0.7);
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.image-box {
   
    border-radius: 12px;
    height: 80%;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-end;
}

.caption {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 30px;
}


/* RIGHT PANEL */

.right-panel {
    width: 55%;
    overflow-y: scroll;
    padding: 80px 60px;
}

.right-panel h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.small-text {
    margin-bottom: 30px;
}

.small-text a {
    color: #a2a420;
}

form input,
.password-box input {
    width: 100%;
    padding: 14px;
    background: #3a3447;
    border: none;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 20px;
}

form input:focus,
.password-box input:focus {
    border: none;
    outline:none;
}

.input-row {
    display: flex;
    gap: 20px;
}

.password-box {
    position: relative;
}

.eye {
    position: absolute;
    right: 15px;
    top: 13px;
    font-size: 18px;
    cursor: pointer;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.check-line a {
    color: #a2a420;
}

.main-btn {
    width: 100%;
    padding: 16px;
    background: goldenrod;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.main-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.main-btn .spinner {
    display: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    width: 20px;
    height: 20px;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

.main-btn.loading .spinner {
    display: block;
}

.main-btn.loading .button-text {
    visibility: hidden;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Profile Picture Upload */
.profile-pic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.profile-pic-label {
    margin-bottom: 10px;
    font-size: 14px;
    color: #fff;
}

.profile-pic-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.profile-pic-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #3a3447;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 40px;
    border: 2px dashed goldenrod;
    cursor: pointer;
}

.profile-pic-preview:hover {
    background-color: #4a4457;
}

#profilePicInput {
    display: none;
}


.divider {
    text-align: center;
    margin: 25px 0;
}

.divider span {
    opacity: 0.8;
}

.auth-buttons {
    display: flex;
    gap: 20px;
}

.auth {
    flex: 1;
    padding: 14px;
    border: 1px solid #7e61ff;
    background: transparent;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.google {
    border-color: #fff;
    margin-top:2px;
    display: flex;
    justify-content:center;
    align-items:center;
}

.google span{
    color: #052845;
}

svg{
    width: 18px;
    height: 18px;
    display: inline-block;
}



/* RESPONSIVE - MOBILE VIEW */

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        height: auto;
    position:static;
    }

    .left-panel {
        width: 100%;
        height: 350px;
        border-radius:0px 0px 20px 20px;
    }

    .right-panel {
        width: 100%;
        padding: 40px 25px;
        overflow-y: auto;
    }

    .input-row {
        
    }
}
