/* Numerology Dosha Scanner Styles */
#nds-scanner-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.nds-scanner-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

.nds-scanner-wrapper h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
}

.nds-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.nds-step {
    margin-bottom: 20px;
}

.nds-step label {
    display: block;
    margin-bottom: 10px;
    color: #34495e;
    font-weight: 500;
}

.nds-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.nds-select:focus {
    border-color: #3498db;
    outline: none;
}

.nds-mobile-input-group {
    margin-bottom: 15px;
}

.nds-mobile-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.nds-mobile-input:focus {
    border-color: #3498db;
    outline: none;
}

.nds-mobile-input.error {
    border-color: #e74c3c;
}

.nds-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

.nds-captcha-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

#nds-captcha-question {
    font-size: 18px;
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    display: inline-block;
}

#nds-captcha-answer {
    width: 150px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
}

.nds-btn-primary, .nds-btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.nds-btn-primary {
    background: #3498db;
    color: white;
}

.nds-btn-primary:hover {
    background: #2980b9;
}

.nds-btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 10px 15px;
    font-size: 14px;
}

.nds-btn-secondary:hover {
    background: #7f8c8d;
}

.nds-button-container {
    text-align: center;
    margin-top: 20px;
}

/* Results Styles */
.nds-results {
    margin-top: 30px;
    animation: fadeIn 0.5s;
}

.nds-result-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #3498db;
}

.nds-result-item.has-dosha {
    border-left-color: #e74c3c;
}

.nds-result-item.safe {
    border-left-color: #27ae60;
}

.nds-result-item.has-warning {
    border-left-color: #ffc107;
}

.nds-mobile-number {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.nds-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.nds-status.safe {
    background: #d4edda;
    color: #155724;
}

.nds-status.warning {
    background: #f8d7da;
    color: #721c24;
}

.nds-status.caution {
    background: #fff3cd;
    color: #856404;
}

.nds-dosha-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.nds-dosha-name {
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 5px;
    font-size: 16px;
}

.nds-dosha-position {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 5px;
    color: #555;
}

.nds-digits-highlight {
    background: #ffeaa7;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    color: #333;
}

.nds-dosha-item.last-2-warning {
    background: #ffe5e5;
    border: 2px solid #ff4444;
}

.nds-dosha-item.last-2-warning .nds-dosha-name {
    color: #ff0000;
}

.nds-dosha-item.last-2-warning .nds-dosha-position {
    color: #ff0000;
    font-weight: bold;
    font-size: 14px;
}

.nds-dosha-effects {
    color: #636e72;
    font-size: 14px;
    line-height: 1.6;
}

/* Highlighted Summary Styles */
.nds-summary-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: white;
}

.nds-summary-title {
    text-align: center;
    font-size: 32px !important;
    margin-bottom: 25px !important;
    color: white !important;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nds-summary-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.nds-stat-item {
    text-align: center;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 20px;
    min-width: 140px;
    backdrop-filter: blur(10px);
}

.nds-stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nds-stat-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.95;
    font-weight: 500;
}

.nds-stat-item.safe .nds-stat-number {
    color: #00ff88;
}

.nds-stat-item.danger .nds-stat-number {
    color: #ff6b6b;
}

.nds-stat-item.total .nds-stat-number {
    color: #ffd93d;
}

/* Loading State */
.nds-loading {
    text-align: center;
    padding: 40px;
}

.nds-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 600px) {
    #nds-scanner-container {
        padding: 10px;
    }
    
    .nds-scanner-wrapper {
        padding: 20px;
    }
    
    .nds-scanner-wrapper h2 {
        font-size: 24px;
    }
    
    .nds-stat-number {
        font-size: 36px;
    }
    
    .nds-summary-title {
        font-size: 24px !important;
    }
}