.patient-form-parent .patient-form {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 100px 20px;
}

svg {
    height: 18px;
    width: 18px;
}
input::placeholder{
    text-transform:capitalize;
}
.text-primary {
    color: #3d9dda;
}

.patient-form-parent .header-card h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.patient-form-parent .header-card p {
    font-size: 16px;
    opacity: 0.85;
    font-weight: 400;
}

    /* Multi-Step Flow */
.patient-form-parent .patient-form .form-step {
    display: none;
}

    .patient-form-parent .patient-form .form-step.active {
    display: block;
    }

    .patient-form-parent .patient-form .pod {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0px 0px 23px 0px rgba(15, 42, 69, 0.09);
    border-top: 2px solid #3d9dda;
    }

    .patient-form-parent .patient-form .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    justify-content: center;
    }

    .patient-form-parent .patient-form .section-header svg {
    width: 20px;
    height: 20px;
    fill: #3d9dda;
    }

    .patient-form-parent .patient-form .section-header h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1e293b;
    }

    /* Info Alerts */
    .patient-form-parent .patient-form .info-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #f0f7ff;
    border: 1px solid #bae6fd;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    }

    .patient-form-parent .patient-form .info-alert svg {
    flex-shrink: 0;
    margin-top: 4px;
    }

    .patient-form-parent .patient-form .info-alert p {
    font-size: 14px;
    color: #0369a1;
    line-height: 1.5;
    margin: 0;
    }

    /* Form Controls */
    .patient-form-parent .patient-form .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    }

    .patient-form-parent .patient-form .form-group {
    margin-bottom: 0;
    }

    .patient-form-parent .patient-form .full-width {
    grid-column: span 2;
    }

    .patient-form-parent .patient-form .label-text {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    }
.patient-form-parent .patient-form input::placeholder{
    color:#333333;
}
    .patient-form-parent .patient-form input {
    width: 100%;
    padding: 14px 18px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height:50px !important;
    }

    .patient-form-parent .patient-form select {
    width: 100%;
    padding: 14px 18px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    color: #1e293b;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28' fill='none'%3e%3cpath d='M13.9988 19.6007C13.1821 19.6007 12.3655 19.2857 11.7471 18.6674L4.14047 11.0607C3.80214 10.7224 3.80214 10.1624 4.14047 9.82406C4.4788 9.48573 5.0388 9.48573 5.37714 9.82406L12.9838 17.4307C13.5438 17.9907 14.4538 17.9907 15.0138 17.4307L22.6205 9.82406C22.9588 9.48573 23.5188 9.48573 23.8571 9.82406C24.1955 10.1624 24.1955 10.7224 23.8571 11.0607L16.2505 18.6674C15.6321 19.2857 14.8155 19.6007 13.9988 19.6007Z' fill='black'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
    height:50px !important;
    }

    .patient-form-parent .patient-form input:focus,
    .patient-form-parent .patient-form select:focus {
    outline: none;
    border-color: #3d9dda;
    box-shadow: 0 0 0 4px rgba(61, 157, 218, 0.1);
    }

    .patient-form-parent .patient-form input.invalid {
    border-color: #ef4444;
    background-color: #fff9f9;
    }

    .patient-form-parent .patient-form .error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease-out;
    }

    .patient-form-parent .patient-form .specifier-input {
    margin-top: 12px;
    display: none;
    animation: fadeIn 0.3s ease-out;
    }

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

    /* Selection Pills & Toggles */
    .patient-form-parent .patient-form .pill-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    }

    .patient-form-parent .patient-form .pill-option {
    cursor: pointer;
    position: relative;
    }

    .patient-form-parent .patient-form .pill-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    }

    .patient-form-parent .patient-form .pill-label {
    display: inline-block;
    padding: 7px 18px 10px 18px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .patient-form-parent .patient-form .pill-label:hover {
    background: linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%);
    color: #fff;
    }

    .patient-form-parent
    .patient-form
    .pill-option
    input:checked
    + .pill-label {
    background: linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%);
    color: #fff;
    }

    /* Custom Checkbox Design */
    .patient-form-parent .patient-form .checkbox-group {
    display: flex;
    gap: 0px 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    }

    .patient-form-parent .patient-form .checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .patient-form-parent .patient-form .checkbox-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    }

    .patient-form-parent .patient-form .checkbox-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: 4px; 
    }

    /* On checked */
    .patient-form-parent .patient-form .checkbox-option input:checked + .checkbox-custom {
    background-color: #3c9ed9;
    border-color: transparent;
    box-shadow: 0px 2px 6px rgba(61, 157, 218, 0.3);
    }

    /* Checkmark icon inside custom checkbox */
    .patient-form-parent .patient-form .checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    }

    .patient-form-parent .patient-form .checkbox-option input:checked + .checkbox-custom::after {
    display: block;
    }

    .patient-form-parent .patient-form .checkbox-label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    transition: color 0.25s ease;
    }

    .patient-form-parent .patient-form .checkbox-option input:checked ~ .checkbox-label {
    color: #1e293b;
    font-weight: 600;
    }

    /* Custom Radio Design */
    .patient-form-parent .patient-form .radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    }

    .patient-form-parent .patient-form .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 14px;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .patient-form-parent .patient-form .radio-option:hover {
    border-color: #3d9dda;
    box-shadow: 0px 4px 12px rgba(61, 157, 218, 0.08);
    }

    .patient-form-parent .patient-form .radio-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    }

    .patient-form-parent .patient-form .radio-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    }

    /* On checked */
    .patient-form-parent .patient-form .radio-option input:checked + .radio-custom {
    border-color: #3d9dda;
    background-color: #ffffff;
    box-shadow: 0px 2px 6px rgba(61, 157, 218, 0.2);
    }

    /* Dot inside custom radio */
    .patient-form-parent .patient-form .radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%);
    }

    .patient-form-parent .patient-form .radio-option input:checked + .radio-custom::after {
    display: block;
    }

    .patient-form-parent .patient-form .radio-label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    transition: color 0.25s ease;
    }

    .patient-form-parent .patient-form .radio-option input:checked ~ .radio-label {
    color: #1e293b;
    font-weight: 600;
    }

    /* Segmented Control (Yes/No) */
    .patient-form-parent .patient-form .segmented-control {
    display: flex;
    background: #fff;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: fit-content;
    }

    .patient-form-parent .patient-form .segmented-option {
    cursor: pointer;
    }

    .patient-form-parent .patient-form .segmented-option input {
    display: none;
    }

    .patient-form-parent .patient-form .segmented-label {
    display: inline-block;
    padding: 6px 17px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .patient-form-parent
    .patient-form
    .segmented-option
    input:checked
    + .segmented-label {
    background: linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%);
    color: white;
    }

    /* Toggle Switches */
    .patient-form-parent .patient-form .switch-group {
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    }

    .patient-form-parent .patient-form .switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
        gap: 12px;
    }

    .patient-form-parent .patient-form .switch-row:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
    }

    .patient-form-parent .patient-form .switch-row label {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    }

    .patient-form-parent .patient-form .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink:0;
    }

    .patient-form-parent .patient-form .switch input {
    opacity: 0;
    width: 0;
    height: 0;
    }

    .patient-form-parent .patient-form .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.4s;
    border-radius: 34px;
    }

    .patient-form-parent .patient-form .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    }

    .patient-form-parent .patient-form input:checked + .slider {
    background-color: #3d9dda;
    }

    .patient-form-parent .patient-form input:checked + .slider:before {
    transform: translateX(24px);
    }

    /* Nested Medicare Section */
    .patient-form-parent .patient-form .medicare-subbox {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    }

    .patient-form-parent .patient-form .medicare-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #3d9dda;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    }

    .patient-form-parent .patient-form .medicare-badge svg {
    height: 24px;
    width: 24px;
    }

    /* Navigation Buttons */
    .patient-form-parent .patient-form .form-footer {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    }

    .patient-form-parent .patient-form .btn {
    padding: 16px 40px 16px 48px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 30px;
    }

    .patient-form-parent .patient-form .btn-primary {
    background: linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%);
    color: white;
    }

    .patient-form-parent .patient-form .btn-primary:hover {
    background: white;
    color: #3d9dda;
    box-shadow: 0px 3px 11px 0px rgba(61, 157, 218, 0.3);
    }

    .patient-form-parent .patient-form .btn-outline {
        background: #fff !important;
        color: #3d9dda;
        border: 1px solid #3d9dda;
        box-shadow: none !important;
    }

    .patient-form-parent .patient-form .btn-outline:hover {
        background:linear-gradient(102.66deg, #3d9dda 4.11%, #70d1e4 124.66%) !important;
        color:#fff;
    }

    .patient-form-parent .patient-form .btn svg {
    margin-top: 3px;
    }

    .patient-form-parent .personal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    }

    .consent-info {
    font-size: 14px;
    color: #333333;
    margin: 12px 0;
    line-height: 1.4;
    }
    .card-div{
        border: 1px solid #e2e8f0;
        padding: 20px;
        border-radius: 14px;
    }
    .address-title{
        grid-column: span 3;
        font-size: 18px;
        font-weight: 800;
        color: #3d9dda;
    }



/* Status Message Styles */
.patient-form-parent .status-message-container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 80px 20px;
    display: none;
}

.patient-form-parent .status-message-content {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border-top: 2px solid #eeeeee;
}

.patient-form-parent .status-message-content.success {
    border-top-color: #10b981;
    background-color: #10b98112;
}

.patient-form-parent .status-message-content.error {
    border-top-color: #ef4444;
    background-color: #ef444417;
}

.patient-form-parent .status-message-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.patient-form-parent .status-message-icon.success {
    background: #10b981;
    color: #fff;
}

.patient-form-parent .status-message-icon.error {
    background: #ef4444;
    color: #fff;
}

.patient-form-parent .status-message-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.patient-form-parent .status-message-content p {
    font-size: 16px;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 0;
}



    /* Mobile Adjustments */
    @media (max-width: 767px) {
        .patient-form-parent .patient-form {
            padding: 70px 20px;
        }
    }
    @media (max-width: 640px) {
    .patient-form-parent .patient-form .grid,
    .patient-form-parent .personal-info-grid {
        grid-template-columns: 1fr;
        gap:16px;
    }
    .patient-form-parent .patient-form .header-card {
        padding: 20px;
    }
    .patient-form-parent .patient-form .full-width {
        grid-column: 1;
    }
        .patient-form-parent .patient-form .pill-group {
            gap: 8px;
        }
        .patient-form-parent .patient-form .pill-label {
        padding: 4px 12px 6px 12px;
    }
        .patient-form-parent .patient-form input,
        .patient-form-parent .patient-form select{
            padding: 10px 18px;
            height: 44px !important;
        }
        .address-title {
            grid-column: span 1;
        }
        .card-div {
            padding: 15px;
        }
    }

    @media (max-width: 575px) {
        .patient-form-parent .patient-form {
            padding:48px 20px;
        }

    .patient-form-parent .patient-form .pod {
        padding: 20px;
    }
    .patient-form-parent .patient-form {
        padding: 50px 20px;
    }
    .patient-form-parent .header-card {
        padding: 27px;
    }
    .patient-form-parent .header-card h1 {
        font-size: 26px;
    }
    .patient-form-parent .patient-form .section-header h2 {
        font-size: 22px;
        margin-bottom: 0;
    }
    .patient-form-parent .patient-form .btn {
        padding: 10px 24px 10px 24px;
        font-size: 16px;
        line-height: 26px;
    }
 
    .patient-form-parent .status-message-container {
            padding: 50px 20px;
    }
    .patient-form-parent .status-message-content {
        padding: 20px;
    }
}







