/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Floating Shapes - Matching Landing Page */
.shape-1 {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #1e40af);
    top: 20%;
    left: 10%;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
    z-index: -1;
    opacity: 0.8;
}

.shape-2 {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    top: 60%;
    right: 15%;
    animation: float 20s infinite ease-in-out;
    animation-delay: 5s;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    z-index: -1;
    opacity: 0.8;
}

.shape-3 {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(225deg, #f59e0b, #ef4444);
    bottom: 20%;
    left: 20%;
    animation: float 20s infinite ease-in-out;
    animation-delay: 10s;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.3);
    z-index: -1;
    opacity: 0.8;
}

.shape-4 {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    bottom: 30%;
    right: 25%;
    animation: float 20s infinite ease-in-out;
    animation-delay: 15s;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    z-index: -1;
    opacity: 0.8;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

/* Container */
.registration-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1000px;
}

.registration-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10;
    opacity: 90%;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Header */
.registration-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 15px 25px;
    position: relative;
    overflow: hidden;
}

.registration-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.registration-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-header p {
    font-size: 0.85rem;
    opacity: 0.95;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px 10px;
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    transition: all 0.4s ease;
    min-width: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.step:hover {
    transform: translateY(-3px);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #e5e7eb;
}

.step.active .step-number {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-color: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.step-label {
    text-align: center;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    max-width: none;
    width: auto;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.step.active .step-label {
    color: #2563eb;
    font-weight: 700;
}

.step.completed .step-label {
    color: #10b981;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: #f1f5f9;
    position: relative;
    margin: 0 20px 8px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #1e40af, #764ba2);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressShimmer 1.5s infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Form Container */
.form-container {
    padding: 10px 20px 20px;
    background: #fafbfc;
    min-height: 250px;
}

.step-content {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.step-content h2 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    margin-top: 0;
}

.step-content h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #764ba2);
    border-radius: 2px;
}

.step-description {
    color: #64748b;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 8px;
}

/* Registration Type Selection */
.registration-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.type-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(118, 75, 162, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.type-card:hover {
    border-color: #2563eb;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.type-card:hover::before {
    opacity: 1;
}

.type-card.selected {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(118, 75, 162, 0.05));
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.type-icon {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.type-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.type-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.type-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.type-card p {
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 0.8rem;
}

.type-features {
    list-style: none;
    text-align: left;
}

.type-features li {
    padding: 4px 0;
    color: #64748b;
    position: relative;
    padding-left: 20px;
    margin-bottom: 2px;
    font-size: 0.75rem;
}

.type-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Form Styles */
.company-form {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-group input:invalid {
    border-color: #dc3545;
}

.password-strength {
    margin-top: 8px;
    font-size: 0.9rem;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #f59e0b, #10b981);
    width: 0%;
    transition: width 0.3s ease;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    background: white;
    border-radius: 16px;
    padding: 8px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toggle-label {
    flex: 1;
    text-align: center;
    padding: 15px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #64748b;
    border: 2px solid #e5e7eb;
}

.toggle-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-label input[type="radio"] {
    display: none;
}

.toggle-label input[type="radio"]:checked + span {
    color: white;
}

.toggle-label input[type="radio"]:checked {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.toggle-label:has(input:checked) {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-color: #2563eb;
    color: white;
}

/* Plans Container */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0px;
    margin: 0;
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    margin: 0;
    overflow: hidden;
}

/* Compact plan cards */
.plan-card.compact {
    padding: 12px;
    border-radius: 12px;
}

.plan-card.compact .plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px; /* Reduced from 8px */
    gap: 5px;
}

.plan-card.compact .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0028c9;
    margin: 0;
    flex: 1;
    line-height: 1.1; /* Reduced from 1.2 for even more compact height */
}

.plan-card.compact .plan-employee-limit {
    font-size: 0.75rem; /* Reduced from default */
    color: #00265b;
    margin: 0;
    line-height: 1.1; /* Reduced line height */
    padding: 2px 0; /* Minimal padding */
}

.plan-card.compact .plan-price {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: 4px; /* Reduced from 8px */
    gap: 6px; /* Reduced gap between price and trial */
}

.plan-card.compact .original-price {
    text-decoration: line-through !important;
    color: #6b7280 !important;
    font-size: 0.8rem !important; /* Reduced from 1.1rem */
    font-weight: 500 !important;
    line-height: 1.1; /* Reduced line height */
    margin: 0; /* Remove margin */
}

.plan-card.compact .free-trial {
    display: block !important;
    color: #006847 !important;
    background: transparent !important;
    padding: 2px 8px !important; /* Reduced padding */
    border-radius: 10px !important; /* Slightly smaller radius */
    font-size: 0.8rem !important; /* Reduced from 0.85rem */
    font-weight: 600 !important;
    border: 1px solid #006847 !important;
    line-height: 1.1; /* Reduced line height */
    margin: 0; /* Remove margin */
}

.plan-card.compact .plan-description {
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.3;
    font-size: 0.85rem;
    text-align: left;
}

.plan-card.compact .plan-section {
    margin-bottom: 12px;
    text-align: left;
}

.plan-card.compact .section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card.compact .plan-features {
    list-style: none;
    margin-bottom: 0;
}

.plan-card.compact .plan-features li {
    padding: 3px 0;
    color: #64748b;
    position: relative;
    padding-left: 18px;
    margin-bottom: 1px;
    font-size: 0.75rem;
    border-bottom: none;
    line-height: 1.2;
}

.plan-card.compact .plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.75rem;
}

.plan-card.compact .btn-compact {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    width: 100%;
    margin-top: 12px;
}

/* Style for plan tagline displayed below plan name */
.plan-tagline {
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 400;
    font-style: italic;
    margin: 4px 0 8px 0;
    text-align: center;
    line-height: 1.3;
    padding: 0 8px;
}

/* Style for employee limit displayed below plan name */
.plan-employee-limit {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 600;
    margin: 4px 0;
    text-align: center;
}

/* Improve plan header layout */
.plan-header {
    text-align: center;
    padding: 20px 16px 16px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px 12px 0 0;
    display: block !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Override compact plan card header styles */
.plan-card.compact .plan-header {
    display: block !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.plan-header > div {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0;
    line-height: 1.2;
    display: block !important;
    text-align: center !important;
    flex: none !important;
}

.plan-tagline {
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 400;
    font-style: italic;
    margin: 4px 0 8px 0;
    text-align: center;
    line-height: 1.3;
    padding: 0 8px;
    display: block !important;
}

.plan-employee-limit {
    font-size: 0.8rem;
    color: #1a1a1a;
    font-weight: 600;
    margin: 4px 0;
    text-align: center;
    display: block !important;
}

.plan-price {
    margin-top: 12px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.original-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b7280;
    text-decoration: line-through !important;
}

.free-trial {
    font-size: 0.9rem;
    color: #059669;
    background: #f0fdf4;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #bbf7d0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plan-header {
        padding: 16px 12px 12px 12px;
    }
    
    .plan-name {
        font-size: 1.1rem;
    }
    
    .plan-tagline {
        font-size: 0.8rem;
        padding: 0 4px;
    }
    
    .plan-employee-limit {
        font-size: 0.75rem;
    }
    
    .original-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .plan-header {
        padding: 12px 8px 8px 8px;
    }
    
    .plan-name {
        font-size: 1rem;
    }
    
    .plan-tagline {
        font-size: 0.75rem;
        margin: 2px 0 6px 0;
    }
    
    .plan-employee-limit {
        font-size: 0.7rem;
        margin: 2px 0;
    }
    
    .original-price {
        font-size: 1.2rem;
    }
    
    .free-trial {
        font-size: 0.7rem;
    }
}

/* Style for comma-separated plan information */
.plan-info {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    padding: 6px 0;
    word-wrap: break-word;
}

.plan-info-sub {
    font-size: 0.7rem;
    color: #9ca3af;
    line-height: 1.3;
    padding: 2px 0 6px;
    word-wrap: break-word;
}

/* Style for plan features with counts and tooltips */
.plan-features {
    display: flex;
    justify-content: space-around;
    margin: 16px 0;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.2rem;
    color: #3b82f6;
}

.feature-item span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Tooltip styling */
.feature-item.with-tooltip {
    position: relative;
}

.feature-item.with-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    max-width: 200px;
    white-space: normal;
    line-height: 1.3;
}

.feature-item.with-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Style for hardcoded benefits */
.plan-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
}

.benefit-item i {
    color: #10b981;
    font-size: 0.9rem;
    width: 16px;
}

.plan-section {
    margin-bottom: 12px;
}

.plan-section .section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(118, 75, 162, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Remove hover effects */
.plan-card:hover {
    border-color: #2563eb;
    transform: translateY(0px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.selected {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(118, 75, 162, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.plan-card.featured {
    border-color: #10b981;
    transform: scale(1.02);
}

.plan-card.featured::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -12px;
    right: -12px;
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 10;
    transform: rotate(45deg);
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 8px;
    position: relative;
}

.plan-price span {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
}

.plan-description {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 10px 0;
    color: #64748b;
    position: relative;
    padding-left: 28px;
    margin-bottom: 6px;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1rem;
}

.loading-plans {
    text-align: center;
    padding: 80px 30px;
    color: #64748b;
}

.loading-plans i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2563eb;
}

/* Progress Steps */
.progress-steps {
    max-width: 700px;
    margin: 0 auto;
}

.progress-step {
    display: flex;
    align-items: center;
    padding: 25px;
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.progress-step.completed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.progress-step.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.step-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 3s linear infinite;
}

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

.progress-step.completed .step-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.progress-step.error .step-icon {
    background: linear-gradient(135deg, #dc3545, #b91c1c);
}

.step-info {
    flex: 1;
}

.step-info h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-weight: 700;
}

.step-info p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.step-status {
    font-size: 1.3rem;
    color: #2563eb;
}

.progress-step.completed .step-status {
    color: #10b981;
}

.progress-step.error .step-status {
    color: #dc3545;
}

/* Progress List Styles */
.progress-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.progress-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.progress-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s ease;
}

.progress-item.completed {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.progress-item.completed i {
    color: #10b981;
}

.progress-item.completed span {
    color: #059669;
    font-weight: 600;
}

.progress-item.processing i {
    color: #3b82f6;
}

.progress-item.pending i {
    color: #94a3b8;
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 20px 25px;
    border-radius: 12px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    animation: shake 0.6s ease-in-out;
}

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

.error-message i {
    margin-right: 12px;
    font-size: 1.3rem;
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border: 2px solid #2563eb;
}

.btn-secondary {
    background: #64748b;
    color: white;
    border: 2px solid #64748b;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 92%;
    max-height: 92vh;
    overflow-y: auto;
    animation: modalSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 40px 35px 25px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(118, 75, 162, 0.02));
}

.modal-header h2 {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
}

.text-success {
    color: #10b981;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(100, 126, 234, 0.1);
    color: #1a1a1a;
}

.modal-body {
    padding: 35px;
}

.modal-footer {
    padding: 25px 35px 35px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    background: #fafbfc;
}

/* Success Details */
.success-details {
    display: grid;
    gap: 30px;
}

.detail-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.detail-section h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.detail-item label {
    font-weight: 600;
    color: #64748b;
    min-width: 140px;
}

.detail-item span {
    color: #1a1a1a;
    flex: 1;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.copyable {
    cursor: pointer;
    position: relative;
}

.copy-btn {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.copy-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #1e40af;
}

.copy-btn.copied {
    color: #10b981;
}

/* Lists for modules, maps, reports */
#modalModulesList,
#modalMapsList,
#modalReportsList {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.list-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.list-item:hover {
    background: white;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-header h1 {
        font-size: 2.2rem;
    }
    
    .step-indicator {
        padding: 40px 20px 20px;
    }
    
    .step-label {
        font-size: 0.85rem;
        max-width: 70px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .registration-types {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        gap: 0px;
        margin: 0;
    }
    
    .progress-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .success-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-item label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .registration-header {
        padding: 40px 25px;
    }
    
    .registration-header h1 {
        font-size: 1.8rem;
    }
    
    .type-card,
    .plan-card {
        padding: 25px;
    }
    
    .company-form {
        padding: 20px;
    }
    
    .modal-content {
        width: 98%;
    }
}

/* Form Validation Styles */
.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.step-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.step-error::before {
    content: "⚠️";
    margin-right: 10px;
    font-size: 1.1rem;
}

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

.alert {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.text-danger {
    color: #dc3545 !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-center {
    text-align: center !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-3 {
    margin-top: 1rem;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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

/* Create Account Section */
.create-account-section {
    margin-top: 40px;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.create-account-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.create-account-section .btn-lg {
    font-size: 18px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.create-account-section .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

.create-account-section .btn-lg:active {
    transform: translateY(0);
}

.create-account-note {
    margin-top: 15px;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.create-account-note i {
    color: #10b981;
}

/* Progress Header */
.progress-header {
    text-align: center;
    margin-bottom: 40px;
}

.progress-header h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.progress-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* Modern Modal Styles */
.modern-modal {
    max-width: 900px; /* Increased width to match registration card */
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: none;
}

.modern-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 30px; /* Reduced padding for shorter height */
    text-align: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px; /* Reduced gap */
    flex: 1;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px; /* Minimal gap between title and subtitle */
}

.success-icon {
    margin-bottom: 0; /* Remove bottom margin */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.success-circle {
    width: 50px; /* Reduced size */
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-circle i {
    font-size: 20px; /* Reduced size */
    color: white;
}

.modern-header h2 {
    margin: 0; /* Remove all margins */
    font-size: 22px; /* Reduced size */
    font-weight: 700;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
    line-height: 1.2; /* Tighter line height */
}

.success-subtitle {
    margin: 0; /* Remove all margins */
    font-size: 12px; /* Reduced size */
    opacity: 0.9;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
    font-weight: 400; /* Regular weight */
    line-height: 1.2; /* Tighter line height */
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-download-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modern-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px; /* Reduced size */
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modern-body {
    padding: 0;
    background: #f8fafc;
}

.credentials-container {
    background: white;
    margin: 15px; /* Reduced margin */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.credentials-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 12px 20px; /* Reduced padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.credentials-header h3 {
    margin: 0;
    font-size: 15px; /* Reduced size */
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
}

.copy-all-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 8px 16px; /* Reduced padding */
    border-radius: 8px; /* Reduced border radius */
    font-size: 13px; /* Reduced size */
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.copy-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.credentials-content {
    padding: 20px; /* Reduced padding */
    max-height: none; /* Remove max height to prevent scrolling */
    overflow: visible; /* No scrolling needed */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Gap between boxes */
}

.basic-credentials-box, .list-credentials-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.box-title {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    padding: 10px 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}

.basic-credentials-grid {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two column layout */
    gap: 8px; /* Reduced gap */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
}

.list-credentials-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
}

.credential-line {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Modern font */
    font-size: 12px; /* Reduced font size */
    font-weight: 500; /* Medium weight for better readability */
    color: #1e293b;
    padding: 6px 8px; /* Reduced padding */
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    word-break: break-all;
    transition: all 0.3s ease;
    line-height: 1.4; /* Better line height */
}

.credential-line:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Make certain items span full width */
.credential-line.full-width {
    grid-column: 1 / -1;
}

/* Remove old grid styles */
.credential-item {
    display: none; /* Hide old grid items */
}

.credential-item.full-width {
    display: none; /* Hide old grid items */
}

.credential-label {
    display: none; /* Hide old labels */
}

.credential-value {
    display: none; /* Hide old values */
}

.credential-copy {
    display: none; /* Hide old copy buttons */
}

.login-action {
    padding: 15px 20px; /* Reduced padding */
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.login-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 12px 30px; /* Reduced padding */
    border-radius: 10px; /* Reduced border radius */
    font-size: 14px; /* Reduced size */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-modal {
        max-width: 95%;
        margin: 10px;
    }
    
    .modern-header {
        padding: 15px 20px; /* Further reduced padding on mobile */
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
    }
    
    .header-text {
        align-items: center;
        text-align: center;
        gap: 2px;
    }
    
    .modern-header h2 {
        text-align: center;
        font-size: 18px; /* Smaller on mobile */
    }
    
    .success-subtitle {
        text-align: center;
        font-size: 11px; /* Smaller on mobile */
    }
    
    .success-circle {
        width: 40px; /* Smaller on mobile */
        height: 40px;
    }
    
    .success-circle i {
        font-size: 16px; /* Smaller on mobile */
    }
    
    .header-actions {
        order: -1; /* Move actions to top on mobile */
        align-self: flex-end;
    }
    
    .credentials-container {
        margin: 10px;
    }
    
    .credentials-header {
        padding: 12px 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .credentials-content {
        padding: 15px;
        gap: 12px; /* Reduced gap on mobile */
    }
    
    .basic-credentials-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 6px; /* Smaller gap on mobile */
    }
    
    .list-credentials-content {
        gap: 6px; /* Smaller gap on mobile */
    }
    
    .box-title {
        padding: 8px 12px; /* Reduced padding on mobile */
        font-size: 12px; /* Smaller font on mobile */
    }
    
    .credential-item {
        padding: 10px;
    }
    
    .credential-value {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Step Headers */
.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h3 {
    color: #1e293b;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-header p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}
