/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

body{
    margin: 0;
    padding: 0;
}

/* Base Container */
.welcome-container {
    min-height: 100vh;
    background-color: #f2f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    font-family: Plus Jakarta Sans;
}


.welcome-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    background-image: url("/images/welcome-background.svg");
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover; 
    background-origin: border-box;
    animation: fadeIn 2s ease-out;
    height: 590px;
}

.welcome-left,
.welcome-right {
    flex: 1;
}

/* Image Styling */
.welcome-image {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    padding-top: 1rem;
}

.welcome-image img {
    width: 100%;
    height: auto;
    /* animation: float 2s ease-in-out; */
}

/* Title Styling */
.welcome-title {
    font-weight: 800;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-top: 1.5rem;
}

.welcome-title .pay {
    color: #17cb96;
}

.welcome-title .infinity {
    color: #4444e0;
    margin-left: -4px;
}

.welcome-description {
    font-weight: 400;
    font-size: 15px;
    margin-top: 0.7rem;
    line-height: 25px;
    letter-spacing: -0.2px;
    color: #13131380;
}

/* Right Panel Animation */
.welcome-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    /* animation: slideInRight 1s ease-out 0.3s; */
}

/* User Panel */
.user-panel {
    background: linear-gradient(108.19deg, #4444E0 5.79%, #0B0C40 104.56%);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* transition: transform 0.2s ease-in-out; */
    animation: fadeIn 2s ease-out;
}

.user-panel:hover {
    transform: scale(1.02);
}

/* Documents Panel */
.documents-panel {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    gap: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
    /* transition: transform 0.2s ease-in-out; */
    animation: fadeIn 2s ease-out;

}

.documents-panel:hover {
    transform: scale(1.02);
}

/* Panel Text */
.panel-title,
.panel-title-document {
    font-weight: 700;
    font-size: 20px;
    line-height: 31.8px;
    padding: 0;
    margin: 0;
}

.panel-description {
    font-size: 14px;
    color: #FFFFFFA1;
}

.panel-description-document {
    font-size: 14px;
    color: #000000A1;
}

/* Buttons */
.panel-button,
.documents-button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 186px;
    height: 42px;
    transition: all 0.3s ease;
}

.panel-button {
    background-color: white;
    color: #2b72f0;
}

.panel-button:hover {
    background-color: #e0e7ff;
    transform: scale(1.05);
}

.documents-button {
    background-color: #17CB96;
    color: white;
}

.documents-button:hover {
    background-color: #14b084;
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media screen and (max-width:1200px) {

    .documents-button,
    .panel-button {
        width: 170px;
    }

    .welcome-left,
    .welcome-right {
        width: 50%;
    }
}

@media screen and (max-width:1100px) {
    .welcome-card {
        background-color: white;
        background-image: none;
    }
}

@media (max-width: 876px) {
    .welcome-card {
        flex-direction: column;
    }

    .welcome-left,
    .welcome-right {
        width: 100%;
    }
}

@media (max-width: 500px) {

    .user-panel,
    .documents-panel {
        flex-direction: column;
    }
}