//File: assets/css/portal-common.css
/* Basic wrapper styling */
.drsumaiya-patient-portal-wrap {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Google Sign In Prompt */
.drsumaiya-google-signin-prompt {
    text-align: center;
    padding: 30px;
}
#g_id_onload { margin-bottom: 15px; } /* spacing */

/* Buttons */
.drsumaiya-button {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    text-align: center;
     vertical-align: middle;
}

.drsumaiya-button-primary {
    background-color: #C0143C; /* Dr. Sumaiya Maroon */
    border-color: #A01030;
    color: #ffffff;
}
.drsumaiya-button-primary:hover,
.drsumaiya-button-primary:focus {
    background-color: #A01030;
    border-color: #800C24;
    color: #ffffff;
}
.drsumaiya-button-primary:disabled {
     background-color: #cccccc;
     border-color: #bbbbbb;
     cursor: not-allowed;
     opacity: 0.7;
}


.drsumaiya-button-secondary {
    background-color: #f7f7f7;
    border-color: #cccccc;
    color: #555;
}
.drsumaiya-button-secondary:hover,
.drsumaiya-button-secondary:focus {
    background-color: #eeeeee;
    border-color: #aaaaaa;
    color: #333;
}
.drsumaiya-button-secondary:disabled {
     background-color: #f7f7f7;
     border-color: #dddddd;
     color: #aaaaaa;
     cursor: not-allowed;
     opacity: 0.7;
}


/* Spinner */
.drsumaiya-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(192, 20, 60, 0.3); /* Light maroon */
    border-radius: 50%;
    border-top-color: #C0143C; /* Maroon */
    animation: drsumaiya-spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes drsumaiya-spin {
    to { transform: rotate(360deg); }
}

/* Response Messages */
#drsumaiya-portal-ajax-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}
#drsumaiya-portal-ajax-response .drsumaiya-success {
    border-left: 4px solid #4CAF50; /* Green */
    background-color: #f0fff0;
    padding: 10px;
    color: #333;
}
#drsumaiya-portal-ajax-response .drsumaiya-error {
     border-left: 4px solid #f44336; /* Red */
     background-color: #fff0f0;
     padding: 10px;
     color: #a00;
}
/* Validation error specific styling */
.drsumaiya-validation-error {
    color: #C0143C; /* Maroon */
    font-size: 0.9em;
    margin-top: 4px;
    display: block; /* Ensure it takes space */
    min-height: 1em; /* Prevent layout shifts */
}


File: assets/css/form.css
---
/* Form specific styles */
.drsumaiya-portal-form {
    margin-top: 20px;
}

/* Step Indicators */
.drsumaiya-step-indicators {
    margin-bottom: 25px;
    text-align: center;
}
.drsumaiya-step-indicator {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    color: #888;
    margin: 0 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.drsumaiya-step-indicator.active {
    background-color: #C0143C; /* Maroon */
    border-color: #A01030;
    color: #fff;
}
.drsumaiya-step-indicator.completed {
     background-color: #e0e0e0;
     border-color: #c0c0c0;
     color: #777;
}
.drsumaiya-step-indicator.completed::after {
     /* Optional: Add a checkmark or similar */
     /* content: '\2713'; */
}


/* Form Steps */
.drsumaiya-form-step {
    padding: 15px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    background-color: #fdfdfd;
}
.drsumaiya-form-step h3 {
    margin-top: 0;
    color: #C0143C; /* Maroon */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Form Fields */
.drsumaiya-form-field {
    margin-bottom: 20px;
}
.drsumaiya-form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #444;
}
.drsumaiya-required {
    color: #C0143C; /* Maroon */
    margin-left: 2px;
}

/* Input Styling */
.drsumaiya-input,
.drsumaiya-textarea,
.drsumaiya-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}
.drsumaiya-input:focus,
.drsumaiya-textarea:focus,
.drsumaiya-select:focus {
    border-color: #C0143C; /* Maroon */
    box-shadow: 0 0 0 2px rgba(192, 20, 60, 0.2);
    outline: none;
}
.drsumaiya-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Radio/Checkbox groups */
.drsumaiya-radio-group fieldset,
.drsumaiya-checkbox-group fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.drsumaiya-radio-group label,
.drsumaiya-checkbox-group label {
    display: block; /* Display each option on a new line */
    margin-bottom: 8px;
    font-weight: normal;
     cursor: pointer;
}
.drsumaiya-radio-group input[type="radio"],
.drsumaiya-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
     vertical-align: middle;
}


/* Form Navigation */
.drsumaiya-form-navigation {
    margin-top: 25px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
