* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Century Gothic, Arial, sans-serif;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
        url('https://portal.talcott.com/images/gradient.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* background: rgba(255, 255, 255, 0.80); */
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url('https://portal.talcott.com/images/petal.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: -300px -800px;
}

header {
    width: 100%;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #ADC0D2;
    height: 80px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 54px;
    width: auto;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.content {
    width: 100%;
    max-width: 550px;
    padding: 40px 0;
    box-shadow: none !important;
    background: none !important;
}

.back-link {
    margin-bottom: 24px;
}

.back-link a {
    color: #153C5D;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

h1 {
    color: #0C1F33;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

p {
    color: #0C1F33;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
    /* max-width: 460px; */
}

.reset-password-container a{
    display: grid;
    text-align: center;
    margin-top: 18px;
    text-decoration: underline;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-field label {
    font-size: 16px;
    font-weight: 700;
    color: #0C1F33;
}

.input-box {
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #D0D8DE;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: border-color 0.2s ease;
}

.input-box input {
    border: none;
    outline: none;
    width: 100%;
    background: none;
    font-family: Century Gothic, Arial, sans-serif;
    font-size: 16px;
}

/* Add blue border on focus */
.input-box:focus-within {
    border: 2px solid #216FAB;
    box-shadow: 0 0 0 1px #216FAB;
}

.primary-btn {
    padding: 16px 32px;
    background: #153C5D;
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    width: 100%;
}

.reset-password-container button{
    margin-top: 32px;
}

.primary-btn:hover {
    background: #0d2338;
}

footer {
    width: 100%;
    height: 80px;
    background: #9DC1E1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0C1F33;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-top: auto;
}

/* Error message styling */
.error-message {
    color: #FF3B30;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 8px;
    border-radius: 4px;
    background-color: rgba(255, 59, 48, 0.1);
    display: none;
}

/* Azure AD B2C integration styles */
/* Hide all B2C elements by default */
.hidden-b2c {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

#api {
    width: 100%;
}

.working {
    display: none !important;
}

.buttons {
    display: none !important;
}

.divider {
    display: none !important;
}

/* Make error messages consistent with our design */
.error {
    color: #FF3B30;
    font-size: 14px;
    margin-top: 4px;
}

/* Action buttons for confirmation page */
.action-buttons {
    margin-top: 32px;
}

.action-buttons .primary-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        padding: 20px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    p {
        font-size: 16px;
    }
}

/* #api .buttons {

    display: none !important;
    
    }
    
    #api .intro {
    
    display: none !important;
    
    }
    
    #api .divider {
    
    display: none !important;
    
    }
    
    #api .create {
    
    display: none !important;
    
    }
    
    
    #api .error {
    
    display: block !important;
    
    color: #FF3B30;
    
    font-size: 14px;
    
    margin-top: 8px;
    
    }
    
    
    #api input[type="text"],
    
    #api input[type="password"],
    
    #api label {
    
    display: none !important;
    
    }
    
    
    #local-form {
    
    position: relative;
    
    z-index: 10;
    
    } */