
.sms-packages-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.sms-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    color: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.sms-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
}

.sms-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.sms-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    font-weight: 300;
}

.sms-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.sms-card {
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sms-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sms-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.sms-card.popular {
    transform: scale(1.05);
    border: 2px solid;
}

.sms-card.popular::after {
    content: "⚡ Most Popular";
    position: absolute;
    top: 20px;
    right: -35px;
    color: white;
    padding: 10px 45px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.sms-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a365d, #2d3748);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sms-price {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 25px 0;
    line-height: 1;
    background: linear-gradient(135deg, #1a365d, #4a5568);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sms-price .currency {
    font-size: 1.8rem;
    opacity: 0.9;
}

.sms-price .period {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 500;
}

.sms-desc {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 500;
}

.sms-sms-count {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    padding: 12px 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 1.1rem;
}

.sms-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.sms-features li {
    padding: 12px 0;
    opacity: 0.9;
    position: relative;
    padding-left: 35px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.sms-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: #c6f6d5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sms-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.sms-btn {
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.sms-btn-primary {
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.sms-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.sms-btn-secondary {
    background: transparent;
    border: 2px solid;
    font-weight: 600;
}

.sms-btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
}

.sms-btn-custom {
    background: linear-gradient(135deg, #ed8936, #dd7714);
    color: white;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.sms-btn-custom:hover {
    background: linear-gradient(135deg, #dd7714, #c05621);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

.sms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.sms-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.sms-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a365d;
    margin: 0;
}

.sms-close {
    background: #f8fafc;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.sms-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.sms-form-group {
    margin-bottom: 25px;
}

.sms-form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.sms-form-input,
.sms-form-select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafbfc;
}

.sms-form-input:focus,
.sms-form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
    transform: translateY(-2px);
}

.sms-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sms-btn-flex {
    flex: 1;
}

.sms-loading {
    display: none;
    text-align: center;
    padding: 30px;
}

.sms-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sms-notification {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    font-weight: 500;
}

.sms-notification.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.sms-notification.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.sms-payment-details {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 25px;
    border-radius: 16px;
    margin-top: 20px;
    border-left: 5px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sms-payment-details h4 {
    margin: 0 0 15px 0;
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 700;
}

.sms-payment-details p {
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}

.sms-usage-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin: 30px 0;
}

.sms-usage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.sms-stat-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.sms-stat-card:hover {
    transform: translateY(-5px);
}

.sms-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 10px;
}

.sms-stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .sms-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .sms-card.popular {
        transform: none;
    }
    
    .sms-header h2 {
        font-size: 2.2rem;
    }
    
    .sms-price {
        font-size: 2.8rem;
    }
    
    .sms-modal-content {
        padding: 25px;
    }
    
    .sms-usage-stats {
        grid-template-columns: 1fr;
    }
}

/* Invoice watermark */
.invoice-watermark {
    position: absolute;
    opacity: 0.08;
    z-index: -1;
    max-width: 300px;
    max-height: 150px;
}

.watermark-top-right {
    top: 50px;
    right: 50px;
}

.watermark-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sms-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #f1f5f9;
}

.sms-company-info {
    flex: 1;
}

.sms-invoice-title {
    text-align: right;
}

.sms-company-logo {
    max-width: 180px;
    max-height: 90px;
    margin-bottom: 20px;
}

.sms-invoice-actions {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.sms-invoice-actions h3 {
    color: #1e40af;
    margin-bottom: 20px;
}
        