/**
 * Multi-Step Registration Form Styles
 * Enhanced with progress bar and account type cards
 * 
 * @package MalisafiMLS
 */

/* ===================================
   EMAIL VERIFICATION NOTICES
   =================================== */

.malisafi-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.malisafi-notice-info {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    color: #0d47a1;
}

.malisafi-notice-success {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    color: #1b5e20;
}

.malisafi-notice-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #b71c1c;
}

.malisafi-notice::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.malisafi-notice-info::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230d47a1"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.malisafi-notice-success::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231b5e20"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.malisafi-notice-error::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23b71c1c"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>');
}

/* ===================================
   PROGRESS BAR
   =================================== */

.step-progress-wrapper {
    margin: 0 0 30px 0;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(26, 58, 82, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: currentColor;
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 2px 8px rgba(26, 58, 82, 0.3);
}

.step-counter {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: currentColor;
    margin-bottom: 20px;
}

/* ===================================
   MULTI-STEP PROGRESS INDICATOR
   =================================== */

.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 50px;
    padding: 0;
    position: relative;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(26, 58, 82, 0.2);
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid currentColor;
    color: rgba(26, 58, 82, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 13px;
    color: rgba(26, 58, 82, 0.6);
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: currentColor;
    border-color: currentColor;
    color: inherit;
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
    transform: scale(1.15);
}

.step-item.active .step-label {
    color: currentColor;
    font-weight: 700;
}

.step-item.completed .step-number {
    background: currentColor;
    border-color: currentColor;
    color: inherit;
    transform: scale(1.05);
}

.step-item.completed .step-number::after {
    content: '✓';
    font-size: 20px;
}

.step-item.completed .step-label {
    color: currentColor;
    font-weight: 600;
}

/* Future step - visually dimmed */
.step-item.future .step-number {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(26, 58, 82, 0.15);
    color: rgba(26, 58, 82, 0.3);
}

.step-item.future .step-label {
    color: rgba(26, 58, 82, 0.4);
    font-weight: 400;
}

/* ===================================
   FORM STEPS
   =================================== */

.form-step {
    min-height: 400px;
    padding: 20px 0;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Active step - fully visible */
.form-step.active-step {
    display: block !important;
    opacity: 1;
}

/* First step visible by default */
.form-step[data-step="1"] {
    display: block !important;
    opacity: 1;
}

.form-step h3 {
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 600;
    color: currentColor;
}

.step-description {
    margin: 0 0 30px 0;
    font-size: 16px;
    color: rgba(26, 58, 82, 0.7);
}

.step-helper {
    margin: -15px 0 25px 0;
    font-size: 14px;
    color: var(--text-links);
}

.step-navigation {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(26, 58, 82, 0.15);
    position: relative;
    z-index: 50;
    background: transparent;
}

.step-navigation .btn {
    flex: 1;
    max-width: 200px;
}

.step-navigation .btn-prev {
    margin-right: auto;
}

.step-navigation .btn-next,
.step-navigation .btn-submit {
    margin-left: auto;
}

/* Input error state for validation */
input.error,
select.error,
textarea.error {
    border-color: currentColor !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Error message box */
.error-message {
    background: transparent;
    border-left: 4px solid currentColor;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message strong {
    display: block;
    margin-bottom: 8px;
    color: #dc2626;
    font-size: 15px;
}

.error-message ul {
    margin: 10px 0 0 20px;
    padding: 0;
    color: #991b1b;
}

.error-message li {
    margin: 5px 0;
    font-size: 14px;
}


.malisafi-registration-wrapper {
    padding: 40px 20px;
    background: transparent;
    font-family: inherit;
    display: block !important;
    visibility: visible !important;
}

.registration-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: block !important;
}

.multi-step-form {
    display: block !important;
    visibility: visible !important;
}

.registration-header {
    background: transparent;
    color: inherit;
    padding: 20px 0 30px;
    text-align: center;
    border-bottom: 2px solid currentColor;
    margin-bottom: 40px;
}

.registration-header h2 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 700;
    color: inherit;
}

.registration-header .subtitle {
    margin: 0;
    font-size: 18px;
    opacity: 0.8;
    font-weight: 500;
    color: inherit;
}

/* Single Page Form Layout */
.single-page-form {
    padding: 40px 0 50px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid currentColor;
    opacity: 0.9;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    opacity: 1;
}

.form-section h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    font-weight: 600;
    color: inherit;
}

/* Hide old progress bar */
.progress-bar {
    display: none;
}

.progress-step {
    display: none;
    border-color: #00c853;
    color: white;
}

.progress-step span {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
}

.progress-step.active span {
    color: #667eea;
    font-weight: 700;
}

/* Form Steps */
.conversational-form {
    padding: 40px 50px;
}

/* Account Type Cards */
.account-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0 40px;
}

@media (max-width: 768px) {
    .account-type-cards {
        grid-template-columns: 1fr;
    }
}

.account-card {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: block;
}

.account-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-card .card-content {
    padding: 30px 20px;
    border: 2px solid var(--mls-border-light, #e0e0e0);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.account-card:hover .card-content {
    border-color: var(--mls-dark, #1a3a52);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 58, 82, 0.15);
}

.account-card.selected .card-content,
.account-card input[type="radio"]:checked ~ .card-content {
    border-color: var(--mls-dark, #1a3a52);
    border-width: 3px;
    background: rgba(26, 58, 82, 0.05);
    box-shadow: 0 10px 30px rgba(26, 58, 82, 0.2);
}

.account-card .card-icon {
    font-size: 60px;
    margin-bottom: 15px;
    filter: grayscale(40%);
    transition: filter 0.3s ease;
}

.account-card:hover .card-icon,
.account-card.selected .card-icon {
    filter: grayscale(0%);
}

.account-card h4 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: var(--mls-dark, #1a3a52);
    font-weight: 700;
}

.account-card p {
    font-size: 14px;
    color: rgba(26, 58, 82, 0.7);
    margin: 0;
    line-height: 1.5;
}

.account-card .card-checkmark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #00c853;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.account-card.selected .card-checkmark,
.account-card input[type="radio"]:checked ~ .card-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Password Requirements */
.password-requirements {
    margin-top: 10px;
    padding: 15px;
    background: rgba(26, 58, 82, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--mls-dark, #1a3a52);
}

.password-requirements small {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--mls-dark, #1a3a52);
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    font-size: 13px;
    padding: 4px 0;
    color: #dc2626;
    transition: color 0.3s ease;
}

.password-requirements li::before {
    margin-right: 8px;
}

.password-match-status {
    margin-top: 8px;
    font-size: 13px;
    min-height: 20px;
}

.password-match-status.match {
    color: #00c853;
}

.password-match-status.no-match {
    color: #dc2626;
}

/* Form Groups */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: inherit;
    font-size: 14px;
}

.form-group .required {
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid currentColor;
    opacity: 0.3;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: transparent;
    color: inherit;
}

.form-group input:focus {
    outline: none;
    opacity: 0.8;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #00c853;
}

/* Error state for form groups */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.05);
}

.form-group.has-error label {
    color: #dc2626;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: inherit;
    opacity: 0.6;
}

/* Phone Input */
.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-prefix {
    padding: 12px 16px;
    background: transparent;
    border: 2px solid currentColor;
    opacity: 0.3;
    border-radius: 8px;
    font-weight: 600;
    color: inherit;
}

.phone-input-wrapper input {
    flex: 1;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.toggle-password:hover {
    opacity: 1;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
    position: relative;
}

.strength-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .strength-bar::before {
    width: 33%;
    background: #dc3545;
}

.password-strength.medium .strength-bar::before {
    width: 66%;
    background: #ffc107;
}

.password-strength.strong .strength-bar::before {
    width: 100%;
    background: #00c853;
}

.strength-text {
    font-size: 12px;
    font-weight: 600;
}

.password-strength.weak .strength-text {
    color: #dc3545;
}

.password-strength.medium .strength-text {
    color: #ffc107;
}

.password-strength.strong .strength-text {
    color: #00c853;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: inherit;
    line-height: 1.5;
}

.checkbox-label a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    opacity: 0.9;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 16px 48px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary,
.btn-submit {
    background: #1a3a52;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.4);
    border: 2px solid #1a3a52;
    font-weight: 600;
    -webkit-user-select: none;
    user-select: none;
}

.btn-primary:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
    background: #ffffff;
    color: #1a3a52;
    border-color: #1a3a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 82, 0.5);
}

/* Mobile-specific button styles */
@media (max-width: 768px) {
    .btn-primary:active:not(:disabled),
    .btn-submit:active:not(:disabled) {
        background: #ffffff !important;
        color: #1a3a52 !important;
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.btn-primary:active,
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 58, 82, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1a3a52;
    border: 2px solid #1a3a52;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #1a3a52;
    color: #ffffff;
}

/* Step navigation buttons visibility */
.btn-prev,
.btn-next {
    display: inline-block;
}

/* Registration Footer */
.registration-footer {
    padding: 20px 0 30px;
    text-align: center;
    background: transparent;
    border-top: 1px solid currentColor;
    opacity: 0.7;
}

.registration-footer p {
    margin: 0;
    font-size: 14px;
    color: inherit;
}

.registration-footer a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.registration-footer a:hover {
    text-decoration: underline;
}

/* Success Message */
.registration-success {
    text-align: center;
    padding: 60px 30px;
}

.success-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.registration-success h3 {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: inherit;
}

.registration-success p {
    font-size: 16px;
    color: inherit;
    opacity: 0.8;
    margin: 0;
}

/* Error Messages */
.registration-errors {
    margin: 20px 0;
    padding: 15px 20px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: 8px;
    color: inherit;
    opacity: 0.9;
}

.registration-errors ul {
    margin: 0;
    padding-left: 20px;
}

.registration-errors li {
    margin: 5px 0;
}

/* Agent-specific fields animation */
.agent-fields {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .malisafi-registration-wrapper {
        padding: 20px 10px;
    }

    .registration-header {
        padding: 20px 0;
    }

    .registration-header h2 {
        font-size: 24px;
    }

    .single-page-form {
        padding: 30px 20px;
    }

    .account-type-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 16px;
        padding: 16px 32px;
    }
    
    /* Prevent iOS zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Ensure step navigation is above other elements */
    .step-navigation {
        position: relative;
        z-index: 100;
        margin-top: 20px;
        padding-top: 20px;
    }

    .registration-footer {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .progress-step .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-content h3 {
        font-size: 20px;
    }

    .account-type-card .icon {
        font-size: 36px;
    }
}

/* Agent Registration Notice */
.agent-registration-notice {
    margin: 30px 0;
    animation: slideDown 0.4s ease;
}

.notice-box {
    background: rgba(102, 126, 234, 0.05);
    border: 2px solid currentColor;
    opacity: 0.8;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    gap: 20px;
}

.notice-icon {
    font-size: 48px;
    flex-shrink: 0;
    line-height: 1;
}

.notice-content h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: inherit;
}

.notice-content p {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: inherit;
    line-height: 1.6;
}

.notice-content ul {
    margin: 12px 0;
    padding-left: 20px;
    list-style: disc;
}

.notice-content ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: inherit;
    line-height: 1.5;
}

.other-account-types {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid currentColor;
    opacity: 0.6;
    font-size: 14px;
}

.account-type-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.account-type-link:hover {
    opacity: 0.7;
    text-decoration: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .notice-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .notice-icon {
        font-size: 36px;
    }
}

/* Subsection Title */
.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: inherit;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid currentColor;
    opacity: 0.7;
}

/* Checkbox Group Inline */
.checkbox-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
}

.checkbox-label-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border: 2px solid currentColor;
    opacity: 0.3;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-label-inline:hover {
    opacity: 0.6;
    background: transparent;
}

.checkbox-label-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label-inline input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.checkbox-label-inline:has(input:checked) {
    opacity: 1;
    background: currentColor;
    color: var(--wp--preset--color--background, #fff);
}

/* Error state for checkbox group */
.checkbox-group-inline.error {
    padding: 10px;
    border: 2px solid #dc2626;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.05);
}

/* Textarea */
textarea.agent-required {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid currentColor;
    opacity: 0.3;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
    background: transparent;
    color: inherit;
}

textarea.agent-required:focus {
    outline: none;
    opacity: 0.8;
}

/* Select for agent fields */
select.agent-required {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid currentColor;
    opacity: 0.3;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

select.agent-required:focus {
    outline: none;
    opacity: 0.8;
}
