/* CCPA Form Styles - extracted from ccpa-refactored.html */
body, html {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 22px;
}

.container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

.main-layout {
    display: flex;
    min-height: 100vh;
}

.content-panel {
    width: 50%;
    padding: 2vh 3vw;
    min-height: 100vh;
    overflow-y: auto;
}

.banner-panel {
    width: 50%;
    height: 100vh;
    background-image: url(https://res.cloudinary.com/pennymac/image/upload/v1630452438/GettyImages-144292803.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    right: 0;
    top: 0;
}

/* Form stages */
.form-stage {
    display: none;
}

.form-stage.active {
    display: block;
}

/* Typography */
h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 250%;
    line-height: 1.2;
    color: #25408e;
    font-weight: 800;
    margin-bottom: 40px;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 200%;
    line-height: 1.2;
    color: #25408e;
    font-weight: bold;
    padding: 15px 0;
}

/* Buttons */
.btn {
    background-color: #f8c405;
    color: black;
    font-size: 12px;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 18px;
    padding: 8px 16px;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    display: inline-block;
    margin: 20px 0;
}

.btn:disabled {
    background-color: #ccc;
    color: #aaa;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #ffffff;
    border: 1px solid #5aaddd;
    color: #5aaddd;
}

.btn-secondary:hover {
    background-color: #5aaddd;
    color: #ffffff;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d4d4d5;
    border-radius: 4px;
    font-size: 14px;
}

.form-group.error input {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.valid input {
    border-color: #28a745;
    background-color: #f8fff9;
}

.form-group.error input {
    border-color: #dc3545;
    background-color: #fff8f8;
}

/* Radio and checkbox containers */
.radio-container,
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin: 15px 0;
    cursor: pointer;
    user-select: none;
}

.radio-container input,
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-container .checkmark,
.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #d4d4d5;
    background-color: inherit;
}

.radio-container .checkmark {
    border-radius: 50%;
}

.radio-container:hover input ~ .checkmark,
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .checkmark,
.checkbox-container input:checked ~ .checkmark {
    background-color: #5aaddd;
    border-color: #5aaddd;
}

.radio-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.radio-container input:checked ~ .checkmark:after,
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}



/* Responsive design */
@media only screen and (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }

    .content-panel,
    .banner-panel {
        width: 100%;
    }

    .banner-panel {
        height: 30vh;
        position: relative;
        right: auto;
        top: auto;
    }

    .content-panel {
        padding: 0 4vw;
        min-height: auto;
    }
}

/* Header */
.header {
    min-height: 80px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header img {
    width: 200px;
}

/* Success stage styles */
.success-stage {
    text-align: left;
    padding: 40px 20px;
}

.success-stage h1 {
    font-family: "Montserrat", sans-serif;
    color: #28a745;
    margin-bottom: 20px;
    text-align: left;
}

.success-stage h1 i {
    margin-right: 10px;
    color: #28a745;
}

.success-stage h3 {
    font-family: "Montserrat", sans-serif;
    color: #28a745;
    margin-bottom: 30px;
    text-align: left;
}

.success-stage p {
    font-family: "Roboto", sans-serif;
    text-align: left;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-stage #caseNumber {
    font-weight: bold;
    color: #25408e;
}

.success-stage a {
    color: #5aaddd;
    text-decoration: none;
}

.success-stage a:hover {
    text-decoration: underline;
}

/* Button group layout */
.button-group {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
}

.button-group .btn {
    flex: 0 0 auto;
} 