/* Modern Premium UI for SMS Plugin */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.wp-sms-app-container {
    font-family: 'Inter', sans-serif;
    max-width: 480px;
    margin: 40px auto;
    color: #f1f5f9;
}

.wp-sms-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.wp-sms-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.wp-sms-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.wp-sms-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.wp-sms-balance-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.wp-sms-body {
    padding: 32px;
    position: relative;
    z-index: 10;
}

.wp-sms-hidden {
    display: none !important;
}

.wp-sms-form-group {
    margin-bottom: 24px;
}

.wp-sms-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
}

.wp-sms-select {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    appearance: none;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wp-sms-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.wp-sms-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.wp-sms-btn-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.wp-sms-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.wp-sms-btn-primary:active {
    transform: translateY(0);
}

.wp-sms-btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.wp-sms-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.wp-sms-active-number-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.wp-sms-number-label {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wp-sms-number-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.wp-sms-number-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.wp-sms-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.wp-sms-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: wpSmsSpin 1s linear infinite;
    margin-bottom: 16px;
}

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

.wp-sms-status-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.wp-sms-timer {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
}

.wp-sms-code-display {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    animation: wpSmsPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes wpSmsPopIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.wp-sms-code-label {
    font-size: 0.875rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.wp-sms-code-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.wp-sms-btn-copy {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wp-sms-btn-copy:hover {
    background: #059669;
}

.wp-sms-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 12px;
    text-align: center;
}

.wp-sms-actions {
    display: flex;
    gap: 16px;
}

/* Wallet Dashboard Elements */
.wp-sms-wallet-overview h3 {
    margin: 0 0 10px 0;
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

.wp-sms-balance-huge {
    font-size: 3rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.wp-sms-deposit-box, .wp-sms-history-box {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
}

.wp-sms-deposit-box h4, .wp-sms-history-box h4 {
    margin-top: 0;
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.wp-sms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.wp-sms-table th, .wp-sms-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.wp-sms-table th {
    color: #94a3b8;
    font-weight: 500;
}

.wp-sms-table tr:last-child td {
    border-bottom: none;
}
