/**
 * EasyRMA Order Form Pro - Modern Public Styles
 *
 * @since      1.0.0
 * @package    EasyRMA_Order_Pro
 * @subpackage EasyRMA_Order_Pro/public/css
 */

/* ===============================================
   Reset and Base Styles
   =============================================== */

* {
    box-sizing: border-box;
}

.easyrma-order-form-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* ===============================================
   Main Layout
   =============================================== */

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

/* ===============================================
   Blue Brand Sidebar
   =============================================== */

.easyrma-brand-sidebar {
    background: linear-gradient(135deg, #0A9BD7 0%, #078BBF 100%);
    width: 320px;
    padding: 40px 30px;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.easyrma-brand-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="20" cy="20" r="20" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="15" fill="rgba(255,255,255,0.03)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.1;
}

.easyrma-brand-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.easyrma-brand-logo {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.easyrma-brand-logo sup {
    font-size: 16px;
    vertical-align: super;
}

.easyrma-features-list {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.easyrma-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.easyrma-check-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.easyrma-compare-packages {
    position: relative;
    z-index: 2;
}

.easyrma-compare-btn {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.easyrma-compare-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===============================================
   Form Container
   =============================================== */

.easyrma-form-with-summary {
    flex: 1;
    display: flex;
    background: white;
}

.easyrma-form-container {
    flex: 1;
    max-width: 600px;
    padding: 40px;
}

.easyrma-form-header {
    margin-bottom: 40px;
}

.easyrma-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.easyrma-form-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
}

/* ===============================================
   Progress Steps
   =============================================== */

.easyrma-progress-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    justify-content: space-between;
    max-width: 400px;
}

.easyrma-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.easyrma-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.easyrma-step.active .easyrma-step-number {
    background: #0A9BD7;
    color: white;
}

.easyrma-step.completed .easyrma-step-number {
    background: #10b981;
    color: white;
}

.easyrma-step-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    max-width: 80px;
    line-height: 1.3;
}

.easyrma-step.active .easyrma-step-title {
    color: #0A9BD7;
    font-weight: 600;
}

.easyrma-step-connector {
    height: 2px;
    background: #e5e7eb;
    flex: 1;
    margin: 0 16px;
    margin-top: -20px;
}

/* ===============================================
   Form Steps
   =============================================== */

.easyrma-form {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.easyrma-form-step {
    display: none;
}

.easyrma-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

/* ===============================================
   Form Fields
   =============================================== */

.easyrma-field-group {
    margin-bottom: 24px;
}

.easyrma-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.easyrma-field-label .required {
    color: #ef4444;
    margin-left: 4px;
}

.easyrma-form input[type="text"],
.easyrma-form input[type="email"],
.easyrma-form input[type="tel"],
.easyrma-form input[type="number"],
.easyrma-form select,
.easyrma-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #374151;
    font-family: inherit;
}

.easyrma-form input:focus,
.easyrma-form select:focus,
.easyrma-form textarea:focus {
    outline: none;
    border-color: #0A9BD7;
    background: white;
    box-shadow: 0 0 0 3px rgba(10, 155, 215, 0.1);
}

.easyrma-form input::placeholder {
    color: #9ca3af;
}

.easyrma-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.easyrma-form-row .easyrma-field-group {
    flex: 1;
    margin-bottom: 0;
}

/* ===============================================
   Billing Cycle Buttons
   =============================================== */

.easyrma-billing-cycle-buttons {
    display: flex;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.easyrma-cycle-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.easyrma-cycle-btn.active {
    background: #0A9BD7;
    color: white;
    box-shadow: 0 2px 4px rgba(10, 155, 215, 0.3);
}

/* ===============================================
   Radio Buttons and Checkboxes
   =============================================== */

.easyrma-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.easyrma-radio-label,
.easyrma-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.easyrma-radio-label:hover,
.easyrma-checkbox-label:hover {
    border-color: #0A9BD7;
    background: white;
}

.easyrma-radio-label input[type="radio"],
.easyrma-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.easyrma-radio-custom,
.easyrma-checkbox-custom {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.easyrma-checkbox-custom {
    border-radius: 4px;
}

.easyrma-radio-label input:checked ~ .easyrma-radio-custom,
.easyrma-checkbox-label input:checked ~ .easyrma-checkbox-custom {
    background-color: #0A9BD7;
    border-color: #0A9BD7;
}

.easyrma-radio-label input:checked ~ .easyrma-radio-custom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.easyrma-checkbox-label input:checked ~ .easyrma-checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.easyrma-radio-text {
    font-weight: 500;
    color: #374151;
}

/* ===============================================
   Addon Modules
   =============================================== */

.easyrma-addons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.easyrma-addon-item .easyrma-checkbox-label {
    padding: 20px;
}

.easyrma-addon-content {
    flex: 1;
}

.easyrma-addon-name {
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.easyrma-addon-price {
    font-size: 14px;
    color: #6b7280;
}

/* ===============================================
   Summary Sidebar
   =============================================== */

.easyrma-summary-sidebar {
    width: 320px;
    background: #f8f9fa;
    border-left: 1px solid #e5e7eb;
    padding: 40px 30px;
    flex-shrink: 0;
}

.easyrma-order-summary {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.easyrma-order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    text-align: center;
}

.easyrma-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
}

.easyrma-summary-name {
    color: #374151;
    flex: 1;
    margin-right: 16px;
    line-height: 1.4;
}

.easyrma-summary-price {
    color: #1f2937;
    font-weight: 600;
    white-space: nowrap;
}

.easyrma-summary-total {
    border-top: 2px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 20px;
}

.easyrma-summary-total .easyrma-summary-item {
    margin-bottom: 8px;
}

.easyrma-summary-total .easyrma-summary-name,
.easyrma-summary-total .easyrma-summary-price {
    font-size: 16px;
    color: #1f2937;
}

.easyrma-summary-note {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

/* ===============================================
   Navigation Buttons
   =============================================== */

.easyrma-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 16px;
}

.easyrma-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
    min-width: 120px;
}

.easyrma-btn-primary {
    background: #0A9BD7;
    color: white;
    border-color: #0A9BD7;
}

.easyrma-btn-primary:hover {
    background: #0889bf;
    border-color: #0889bf;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 155, 215, 0.3);
}

.easyrma-btn-secondary {
    background: #f8f9fa;
    color: #6b7280;
    border-color: #e5e7eb;
}

.easyrma-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ===============================================
   Info Box
   =============================================== */

.easyrma-info-box {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.easyrma-info-box h4 {
    color: #0369a1;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.easyrma-info-box p {
    color: #0c4a6e;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* ===============================================
   Error and Success Messages
   =============================================== */

.easyrma-error-container {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.easyrma-error-content {
    color: #dc2626;
    font-size: 14px;
}

.easyrma-success-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.easyrma-success-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    margin: 20px;
}

.easyrma-success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ===============================================
   Loading Indicator
   =============================================== */

.easyrma-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    color: #6b7280;
}

.easyrma-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #0A9BD7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===============================================
   Responsive Design
   =============================================== */

@media (max-width: 1024px) {
    .easyrma-main-layout {
        flex-direction: column;
    }
    
    .easyrma-brand-sidebar {
        width: 100%;
        padding: 20px;
    }
    
    .easyrma-form-with-summary {
        flex-direction: column;
    }
    
    .easyrma-summary-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 768px) {
    .easyrma-form-container {
        padding: 20px;
    }
    
    .easyrma-form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .easyrma-progress-indicator {
        flex-direction: column;
        gap: 16px;
    }
    
    .easyrma-step-connector {
        display: none;
    }
    
    .easyrma-billing-cycle-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .easyrma-form-navigation {
        flex-direction: column;
    }
}

.easyrma-step.active .easyrma-step-title {
    color: #007cba;
    font-weight: 600;
}

/* ===============================================
   Form Steps
   =============================================== */

.easyrma-form {
    flex: 2;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.easyrma-form-step {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.easyrma-form-step.active {
    display: block;
}

.easyrma-form-step h2 {
    margin: 0 0 30px 0;
    padding: 0;
    font-size: 24px;
    color: #23282d;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

/* ===============================================
   Form Fields
   =============================================== */

.easyrma-field-group {
    margin-bottom: 20px;
}

.easyrma-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23282d;
}

.easyrma-field-label .required {
    color: #dc3232;
}

.easyrma-form input[type="text"],
.easyrma-form input[type="email"],
.easyrma-form input[type="tel"],
.easyrma-form input[type="number"],
.easyrma-form select,
.easyrma-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.easyrma-form input:focus,
.easyrma-form select:focus,
.easyrma-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.easyrma-form input.error {
    border-color: #dc3232;
}

.easyrma-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.easyrma-form-row .easyrma-field-group {
    flex: 1;
    margin-bottom: 0;
}

.easyrma-field-help {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* ===============================================
   Radio Buttons and Checkboxes
   =============================================== */

.easyrma-radio-group,
.easyrma-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.easyrma-radio-label,
.easyrma-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
}

.easyrma-radio-label input[type="radio"],
.easyrma-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.easyrma-radio-custom,
.easyrma-checkbox-custom {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.easyrma-checkbox-custom {
    border-radius: 4px;
}

.easyrma-radio-label:hover .easyrma-radio-custom,
.easyrma-checkbox-label:hover .easyrma-checkbox-custom {
    border-color: #007cba;
}

.easyrma-radio-label input:checked ~ .easyrma-radio-custom,
.easyrma-checkbox-label input:checked ~ .easyrma-checkbox-custom {
    background-color: #007cba;
    border-color: #007cba;
}

.easyrma-radio-custom::after,
.easyrma-checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
}

.easyrma-radio-label input:checked ~ .easyrma-radio-custom::after {
    display: block;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.easyrma-checkbox-label input:checked ~ .easyrma-checkbox-custom::after {
    display: block;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.easyrma-radio-text {
    font-weight: 500;
    color: #23282d;
}

/* ===============================================
   Package and Addon Display
   =============================================== */

.easyrma-package-display {
    background: #f8f9fa;
    border: 2px solid #007cba;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.easyrma-package-display h3 {
    margin: 0 0 10px 0;
    color: #007cba;
    font-size: 20px;
}

.easyrma-package-price {
    font-size: 24px;
    font-weight: 700;
    color: #23282d;
}

.easyrma-addons-grid,
.easyrma-optional-packages {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.easyrma-addon-item,
.easyrma-optional-item {
    background: #f8f9fa;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.easyrma-addon-item:hover,
.easyrma-optional-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0,124,186,0.1);
}

.easyrma-addon-item label,
.easyrma-optional-item label {
    cursor: pointer;
    display: block;
    margin: 0;
    padding: 0;
}

.easyrma-addon-content,
.easyrma-optional-content {
    margin-left: 35px;
}

.easyrma-addon-name,
.easyrma-optional-name {
    font-weight: 600;
    color: #23282d;
    margin-bottom: 5px;
}

.easyrma-addon-description,
.easyrma-optional-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.easyrma-addon-price,
.easyrma-optional-price {
    font-weight: 600;
    color: #007cba;
    font-size: 16px;
}

/* ===============================================
   Order Summary Sidebar
   =============================================== */

.easyrma-summary-sidebar {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

@media (max-width: 768px) {
    .easyrma-summary-sidebar {
        position: relative;
        top: auto;
        max-height: none;
        min-width: auto;
    }
}

.easyrma-order-summary {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.easyrma-order-summary h3 {
    margin: 0 0 20px 0;
    color: #23282d;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.easyrma-summary-placeholder {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

.easyrma-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.easyrma-summary-item:last-child {
    border-bottom: none;
}

.easyrma-summary-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e5e5;
}

.easyrma-summary-total .easyrma-summary-item {
    font-size: 18px;
    font-weight: 600;
    padding: 0;
    border-bottom: none;
}

.easyrma-summary-note {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.easyrma-summary-name {
    color: #23282d;
    flex: 1;
}

.easyrma-summary-price {
    color: #007cba;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 16px;
}

/* ===============================================
   Enhanced Summary Styling
   =============================================== */

.easyrma-summary-sidebar .easyrma-order-summary {
    transition: box-shadow 0.3s ease;
}

.easyrma-summary-sidebar .easyrma-order-summary:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.easyrma-summary-total .easyrma-summary-price strong {
    color: #007cba;
    font-size: 20px;
}

/* Better spacing for mobile */
@media (max-width: 768px) {
    .easyrma-order-form-container {
        padding: 15px;
    }
    
    .easyrma-form {
        padding: 20px;
    }
    
    .easyrma-summary-sidebar .easyrma-order-summary {
        padding: 20px;
    }
}

/* Ensure proper scrolling on smaller screens */
@media (max-width: 1024px) {
    .easyrma-summary-sidebar {
        position: relative;
        top: auto;
        max-height: none;
    }
}

/* ===============================================
   Payment Details
   =============================================== */

.easyrma-payment-details {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.easyrma-info-box {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
    color: #0c5460;
}

.easyrma-info-box h4 {
    margin: 0 0 10px 0;
    color: #0c5460;
}

/* ===============================================
   Buttons
   =============================================== */

.easyrma-form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.easyrma-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.easyrma-btn-primary {
    background: #007cba;
    color: white;
}

.easyrma-btn-primary:hover {
    background: #005a87;
}

.easyrma-btn-secondary {
    background: #f1f1f1;
    color: #23282d;
    border: 1px solid #ddd;
}

.easyrma-btn-secondary:hover {
    background: #e5e5e5;
}

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

/* ===============================================
   Loading and Messages
   =============================================== */

.easyrma-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    font-weight: 600;
    color: #007cba;
}

.easyrma-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.easyrma-error-container {
    background: #ffeaea;
    border: 1px solid #dc3232;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.easyrma-error-content {
    color: #dc3232;
}

.easyrma-error-messages ul {
    margin: 0;
    padding-left: 20px;
}

.easyrma-success-container {
    text-align: center;
    padding: 40px 20px;
    background: #f0f8f0;
    border: 2px solid #46b450;
    border-radius: 8px;
}

.easyrma-success-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.easyrma-success-container h2 {
    color: #46b450;
    margin-bottom: 20px;
}

.easyrma-success-details {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
    text-align: left;
}

/* ===============================================
   Status Badges (for admin)
   =============================================== */

.easyrma-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.easyrma-status-pending {
    background: #fef7e1;
    color: #8b6914;
}

.easyrma-status-confirmed {
    background: #e1f5fe;
    color: #0277bd;
}

.easyrma-status-completed {
    background: #e8f5e8;
    color: #2e7d32;
}

/* ===============================================
   Animations
   =============================================== */

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================================
   Responsive Design
   =============================================== */

@media (max-width: 768px) {
    .easyrma-order-form-container {
        padding: 10px;
    }
    
    .easyrma-form {
        padding: 20px;
    }
    
    .easyrma-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .easyrma-progress-indicator {
        padding: 0 10px;
    }
    
    .easyrma-progress-indicator::before {
        left: 30px;
        right: 30px;
    }
    
    .easyrma-step-title {
        font-size: 11px;
        max-width: 60px;
    }
    
    .easyrma-step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .easyrma-form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .easyrma-btn {
        width: 100%;
    }
    
    .easyrma-addons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .easyrma-progress-indicator {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .easyrma-progress-indicator::before {
        display: none;
    }
    
    .easyrma-step {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .easyrma-step-number {
        margin-bottom: 0;
    }
    
    .easyrma-step-title {
        max-width: none;
    }
}

/* ===============================================
   Package Preselection Styles
   =============================================== */

.easyrma-selected-package-notice {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 15px;
    color: #2e7d32;
    font-size: 14px;
}

.easyrma-selected-package-notice strong {
    color: #1b5e20;
}

.easyrma-package-description {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Error message styles */
.easyrma-error {
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 4px;
    padding: 15px;
    color: #c62828;
    margin: 20px 0;
    font-weight: 500;
}