/* Company Registration form styling */
.register-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #4A90E2;
    color: white;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.progress-step.completed .step-number {
    background: #2ecc71;
    color: white;
}

.progress-step .step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.progress-step.active .step-label {
    color: #4A90E2;
    font-weight: 600;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
    margin-bottom: 28px;
}

/* Registration Steps */
.registration-step {
    display: none;
}

.registration-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.registration-subtitle {
    text-align: center;
    color: #666;
    margin-top: -10px;
    margin-bottom: 25px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Company Search */
.company-search-wrapper {
    position: relative;
}

.company-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* background/border/shadow now handled by liquid-glass.css */
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 5px;
}

.company-search-results.active {
    display: block;
}

.company-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.company-result-item:hover {
    /* handled by liquid-glass.css */
}

.company-result-item:last-child {
    border-bottom: none;
}

.company-result-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.company-result-details {
    font-size: 12px;
    color: #666;
}

.company-result-number {
    color: #4A90E2;
    font-weight: 500;
}

/* Verification Status */
.company-verification-status {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-verification-status i {
    font-size: 24px;
    color: #4caf50;
}

.company-verification-status strong {
    display: block;
    color: #2e7d32;
    margin-bottom: 3px;
}

.company-verification-status span {
    font-size: 13px;
    color: #558b2f;
}

/* OAuth Options */
.oauth-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.oauth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.oauth-btn.google {
    color: #ea4335;
    border-color: #ea4335;
}

.oauth-btn.google:hover {
    background: #ea4335;
    color: white;
}

.oauth-btn.microsoft {
    color: #0078d4;
    border-color: #0078d4;
}

.oauth-btn.microsoft:hover {
    background: #0078d4;
    color: white;
}

.oauth-btn.apple {
    color: #000;
    border-color: #000;
}

.oauth-btn.apple:hover {
    background: #000;
    color: white;
}

.oauth-btn i {
    font-size: 18px;
}

/* Divider */
.divider-with-text {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider-with-text::before,
.divider-with-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 50px);
    height: 1px;
    background: #ddd;
}

.divider-with-text::before {
    left: 0;
}

.divider-with-text::after {
    right: 0;
}

.divider-with-text span {
    color: #666;
    font-size: 13px;
    background: white;
    padding: 0 10px;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength .strength-bar {
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .strength-bar {
    width: 33%;
    background: #f44336;
}

.password-strength.medium .strength-bar {
    width: 66%;
    background: #ff9800;
}

.password-strength.strong .strength-bar {
    width: 100%;
    background: #4caf50;
}

/* Trial Info Card */
.trial-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-bottom: 25px;
}

.trial-info-card i {
    font-size: 48px;
    margin-bottom: 15px;
}

.trial-info-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.trial-info-card p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.trial-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.trial-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trial-features i {
    font-size: 14px;
    color: #4caf50;
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Terms Group */
.terms-group {
    margin-top: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.checkbox-label span {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.checkbox-label a {
    color: #4A90E2;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.button-group button {
    flex: 1;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #4A90E2;
    color: white;
}

.btn-primary:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* Login Link */
.login-link {
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #4A90E2;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Loading State */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4A90E2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pricing Components */
.pricing-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
}

.pricing-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.savings {
    color: #27ae60;
    font-weight: 600;
    font-size: 12px;
}

.pricing-calculator {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pricing-calculator h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.savings-badge {
    background: #27ae60;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 8px;
}

/* Subscription Setup */
.subscription-setup {
    margin: 25px 0;
    padding: 20px;
    background: #fff;
    border: 2px solid #4A90E2;
    border-radius: 8px;
}

.subscription-setup h4 {
    margin: 0 0 10px 0;
    color: #4A90E2;
    font-size: 18px;
}

.subscription-setup p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.billing-frequency {
    margin-bottom: 20px;
}

.billing-frequency label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #4A90E2;
    background: #f8f9fa;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #4A90E2;
}

.paypal-container {
    margin: 20px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
    margin-top: 15px;
}

.payment-info i {
    color: #27ae60;
}

/* Responsive */
@media (max-width: 576px) {
    .register-box {
        padding: 25px;
        width: 95%;
    }
    
    .registration-progress {
        padding: 0 10px;
    }
    
    .progress-step .step-label {
        font-size: 11px;
    }
    
    .trial-info-card {
        padding: 20px;
    }
    
    .trial-features {
        font-size: 14px;
    }
    
    .pricing-options {
        font-size: 13px;
    }
    
    .subscription-setup {
        padding: 15px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-label {
        padding: 10px;
        font-size: 14px;
    }
}
