:root {
    --darkBlue300: #615AA8;
    --darkBlue400: #072B61;
    --darkBlue500: #052051;
    --lightBlue100: #F3F5FC;
    --lightBlue200: #EFF1FA;
    --gray400: #495057;
    --gray500: #343A40;
    --accent: #A3DA58;
    --accent-hover: #8BC34A;
    --purple-hover: #592661;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--lightBlue100) 0%, var(--lightBlue200) 100%);
    min-height: 100vh;
    color: var(--gray500);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    width: 100%;
}

.logo {
    padding: 1.5rem 2rem;
    display: inline-block;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: 2fr 1fr;
        padding: 0 2rem 3rem;
    }
}

/* Main Content */
.mainContent {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    transition: box-shadow 0.3s ease;
}

.mainContent:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
    .mainContent {
        padding: 3rem;
    }
}

.mainContent__textInput {
    background: transparent;
    border: 2px solid var(--lightBlue200);
    outline: none;
    width: 100%;
    min-height: 250px;
    font-size: 1.125rem;
    color: var(--darkBlue300);
    font-family: 'Inter', sans-serif;
    resize: vertical;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mainContent__textInput {
        min-height: 350px;
        font-size: 1.25rem;
    }
}

.mainContent__textInput:focus {
    border-color: var(--darkBlue300);
    background: var(--lightBlue100);
}

.mainContent__textInput::placeholder {
    color: var(--darkBlue300);
    opacity: 0.5;
}

.bottomContent {
    margin-top: auto;
    padding-top: 2rem;
}

.bottomContent__warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray400);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--lightBlue100);
    border-radius: 8px;
}

.bottomContent__warning::before {
    content: "⚠️";
    font-size: 1.2rem;
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .buttons {
        flex-direction: row;
    }
}

.buttons__button {
    flex: 1;
    padding: 1rem 2rem;
    border-radius: 16px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buttons__button--main {
    background: linear-gradient(135deg, var(--darkBlue300) 0%, var(--darkBlue400) 100%);
    color: var(--white);
}

.buttons__button--main:hover {
    background: linear-gradient(135deg, var(--purple-hover) 0%, var(--darkBlue500) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 90, 168, 0.3);
}

.buttons__button--secondary {
    background: var(--accent);
    color: var(--darkBlue300);
    border: 2px solid var(--darkBlue300);
}

.buttons__button--secondary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(163, 218, 88, 0.3);
}

.buttons__button:active {
    transform: translateY(0);
}

/* Side Content */
.sideContent {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .sideContent {
        padding: 3rem;
    }
}

.sideContent--image::before {
    content: "🔐";
    font-size: 5rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.sideContent--active {
    justify-content: flex-start;
}

.sideContent--active::before {
    display: none;
}

.sideContent__texts {
    text-align: center;
    width: 100%;
}

.sideContent__texts h1 {
    font-size: 1.5rem;
    color: var(--gray500);
    margin-bottom: 1rem;
    font-weight: 700;
}

.sideContent__texts p {
    color: var(--gray400);
    line-height: 1.8;
    word-wrap: break-word;
}

.sideContent__texts--active {
    text-align: left;
}

.sideContent__texts--active h1 {
    display: none;
}

.sideContent__texts--active p {
    font-size: 1.125rem;
    color: var(--gray500);
}

.buttons--side {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.buttons--side .buttons__button {
    width: 100%;
    max-width: 300px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--darkBlue300) 0%, var(--darkBlue400) 100%);
    color: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: auto;
}

.footer__text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer a {
    color: var(--white);
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer a:hover {
    opacity: 0.8;
}

.footer img {
    height: 20px;
    width: 20px;
    margin-left: 0.25rem;
    filter: brightness(0) invert(1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sideContent--active {
    animation: fadeIn 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 639px) {
    .mainContent__textInput {
        min-height: 200px;
    }
    
    .sideContent {
        min-height: 250px;
    }
}