:root {
    --primary-purple: #5A0F61;
    --light-purple: #B39DDB;
    --beige-background: #E0B496;
    --white: #FFFFFF;
    --highlight-color: #FDBA74;
    --dark-grey: #616161; 
    --medium-grey: #9E9E9E; 
    --light-grey: #F5F5F5; 
    --success-green: #4CAF50;
    --error-red: #F44336;
    --text-on-light: #424242;
    --text-on-dark: #FFFFFF;
    --gradient-start: #FFA8A7;
    --gradient-end: #881792;
    --gradient-deg: 90deg;
    --main-bg-grey: #E8EBF1; 
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F8FAFC;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background-color: #F8FAFC;
    overflow: hidden;
}

.header {
    padding: 20px 40px;
    text-align: left;
    height: 10vh;
}

.logo {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    color: var(--primary-purple);
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
}

.logo .highlight {
    color: var(--highlight-color);
    text-transform: none;
}

.corner-image-top-right {
    position: absolute;
    top: -150px;
    right: -300px;
    width: 665.222px;
    height: 471.028px;
    z-index: 0;
}

.corner-image-bottom-left {
    position: absolute;
    bottom: -150px;
    left: -220px;
    width: 665.222px;
    height: 471.028px;
    z-index: 0;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 20px;
    position: relative;
    z-index: 5;
    min-height: 90vh;
}

.illustration img {
    width: calc(547px * 0.8);
    height: calc(820px * 0.8);
    box-sizing: border-box;
    position: absolute;
    bottom: 0px;
    left: 100px;
    object-fit: contain;
}

.welcome-card {
    display: inline-flex;
    padding: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: -150px;
    margin-right: -250px;
    text-align: center;
    width: calc(380px * 1.2);
    height: calc(234px * 1.2);
}

.welcome-card h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-purple);
    line-height: 1.2;
    text-align: center;
    margin: 0px auto;
}

.gradient-text-h2 {
    background: linear-gradient(90deg, #FFA8A7 30%, #881792 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.welcome-card p {
    color: #616161;
    font-size: 16px;
}

.google-signin-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.google-signin-btn:hover {
    background-color: #5b1582;
}

.google-icon {
    width: 24px;
    height: 24px;
}



.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-purple); /* This is general, but success overrides it */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-circle.success {
    background-color: var(--success-green);
    color: var(--white);
}

.icon-circle .material-icons {
    font-size: 36px;
    color: var(--white); /* This is general, but success overrides it, effectively */
}

.icon-circle.success .material-icons {
    color: var(--white);
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 40px;
        flex-direction: column;
        padding-top: 200px;
        box-sizing: border-box;
        margin: 0px;
        padding: 0px;
        align-items: flex-start;
    }
    .illustration{
        order: 2;
    }
    .welcome-card{
        order: 1;
        margin: 200px auto 0 auto;
    }
    .illustration img {
        width: 400px;
        height: auto;
        position: static;
        padding: 0px;
        margin-left: -60px;
    }
    .corner-image-top-right{
        top: 50px;
        right: -400px;
    }
    .corner-image-top-right,
    .corner-image-bottom-left {
        opacity: 0.7;
    }
    .header {
        text-align: center;
    }
}

@media (max-width: 800px) {
    .welcome-card {
        width: calc(100% - 40px);
        padding: 36px 18px;
    }
    .google-signin-btn{
        font-size: 14pt;
    }
}
