/**
 * GW Profile Wizard Styles
 */

.gw-profile-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gw-profile-wizard-step {
    display: none;
}

.gw-profile-wizard-step.active {
    display: block;
}

.gw-profile-wizard-header {
    margin-bottom: 30px;
    text-align: center;
}

.gw-profile-wizard-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.gw-profile-wizard-description {
    color: #777;
    margin-bottom: 20px;
}

.gw-profile-wizard-progress {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.gw-profile-wizard-progress-bar {
    height: 100%;
    background-color: var(--bb-primary-color, #385DFF);
    transition: width 0.3s ease;
}

.gw-profile-wizard-fields {
    margin-bottom: 30px;
}

.gw-profile-wizard-field {
    margin-bottom: 30px;
}

.gw-profile-wizard-field-label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.gw-profile-wizard-field-description {
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.gw-profile-wizard-field-required {
    color: #e53935;
    margin-left: 4px;
}

.gw-profile-wizard-field-error {
    color: #e53935;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.gw-profile-wizard-field.has-error .gw-profile-wizard-field-error {
    display: block;
}

.gw-profile-wizard-field-input,
input[type="text"].gw-profile-wizard-field-input,
input[type="date"].gw-profile-wizard-field-input,
input[type="number"].gw-profile-wizard-field-input,
select.gw-profile-wizard-field-input,
textarea.gw-profile-wizard-field-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.gw-profile-wizard-field-input:focus,
input[type="text"].gw-profile-wizard-field-input:focus,
input[type="date"].gw-profile-wizard-field-input:focus,
input[type="number"].gw-profile-wizard-field-input:focus,
select.gw-profile-wizard-field-input:focus,
textarea.gw-profile-wizard-field-input:focus {
    border-color: var(--bb-primary-color, #385DFF);
    box-shadow: 0 0 0 3px rgba(56, 93, 255, 0.15);
    outline: none;
}

.gw-profile-wizard-field.has-error input,
.gw-profile-wizard-field.has-error select,
.gw-profile-wizard-field.has-error textarea {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.gw-profile-wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.gw-profile-wizard-navigation .left-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gw-profile-wizard-page-indicator {
    font-size: 14px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.gw-profile-wizard-button {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
}

.gw-profile-wizard-button-back {
    background-color: #f5f5f5;
    color: #333;
}

.gw-profile-wizard-button-back:hover {
    background-color: #e0e0e0;
}

.gw-profile-wizard-button-next {
    grid-area: right;
    justify-self: end;
    background-color: var(--bb-primary-color, #385DFF);
    color: #fff;
}

.gw-profile-wizard-button-next:hover {
    background-color: var(--bb-primary-color-hover, #1e40af);
}

.gw-profile-wizard-button-next:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.gw-profile-wizard-button-start-over {
    grid-area: left;
    justify-self: center;
    margin-left: auto;
    background-color: #ff6b35;
    color: #fff;
}

.gw-profile-wizard-button-start-over:hover {
    background-color: #e55a2b;
}

.gw-profile-wizard-page-indicator {
    font-size: 14px;
    color: #666;
    text-align: center;
    font-weight: 500;
    grid-area: center;
    justify-self: center;
}

.gw-profile-wizard-save-status {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    height: 20px;
}

.gw-profile-wizard-save-status.saving {
    color: #777;
}

.gw-profile-wizard-save-status.saved {
    color: #4caf50;
}

.gw-profile-wizard-save-status.error {
    color: #e53935;
}

/* Image upload field styles */
.gw-profile-wizard-image-upload {
    margin-bottom: 20px;
}

.gw-profile-wizard-image-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Completion screen styles */
.gw-profile-wizard-completion {
    text-align: center;
    padding: 30px 0;
    margin: 20px 0;
}

.gw-profile-wizard-completion-icon {
    font-size: 64px;
    color: #4caf50;
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    display: inline-block;
}

.gw-profile-wizard-completion-message {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

/* Radio and Checkbox styles */
.gw-profile-wizard-field-radio,
.gw-profile-wizard-field-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}

.gw-profile-wizard-field-radio input[type="radio"],
.gw-profile-wizard-field-checkbox input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.gw-profile-wizard-field-radio label,
.gw-profile-wizard-field-checkbox label {
    font-size: 15px;
    cursor: pointer;
}

.gw-profile-wizard-field-radio-group,
.gw-profile-wizard-field-checkbox-group {
    margin-top: 5px;
    padding: 5px 0;
}

textarea.gw-profile-wizard-field-input {
    min-height: 120px;
    resize: vertical;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gw-profile-wizard-container {
        padding: 15px;
    }
    
    .gw-profile-wizard-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .gw-profile-wizard-navigation .left-buttons {
        order: 2;
        justify-content: center;
        width: 100%;
    }
    
    .gw-profile-wizard-page-indicator {
        order: 1;
    }
    
    .gw-profile-wizard-button-next {
        order: 3;
        width: 100%;
    }
    
    .gw-profile-wizard-button {
        min-width: 120px;
        text-align: center;
    }
}

/* Welcome page styles */
.gw-profile-wizard-welcome {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.gw-profile-wizard-welcome-header {
    font-size: 28px;
    font-weight: bold;
    color: #800000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gw-profile-wizard-welcome-content {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

.gw-profile-wizard-welcome-content p {
    margin-bottom: 20px;
}

.gw-profile-wizard-welcome-content p:last-child {
    margin-bottom: 0;
}

/* Mobile responsiveness for welcome page */
@media (max-width: 768px) {
    .gw-profile-wizard-welcome {
        padding: 30px 15px;
    }
    
    .gw-profile-wizard-welcome-header {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .gw-profile-wizard-welcome-content {
        font-size: 16px;
    }
}
