
.sms-admin-wrap {
    max-width: 1200px;
    margin: 20px;
}

.sms-admin-header {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.sms-admin-header h1 {
    margin: 0;
    color: #1a365d;
    font-size: 2.2rem;
    font-weight: 800;
}

.sms-admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.sms-admin-card-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.sms-admin-card-header h2 {
    margin: 0;
    color: #1a365d;
    font-size: 1.6rem;
    font-weight: 700;
}

.sms-admin-card-body {
    padding: 35px;
}

.sms-plans-table {
    width: 100%;
    border-collapse: collapse;
}

.sms-plans-table th {
    background: #f8fafc;
    padding: 18px;
    text-align: left;
    font-weight: 700;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
}

.sms-plans-table td {
    padding: 18px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.sms-plans-table input[type="text"],
.sms-plans-table input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sms-plans-table input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sms-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.sms-orders-table th {
    background: #f8fafc;
    padding: 18px;
    text-align: left;
    font-weight: 700;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
}

.sms-orders-table td {
    padding: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.sms-status-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.sms-status-paid {
    background: #d1fae5;
    color: #065f46;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.sms-action-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sms-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.sms-mark-paid {
    background: linear-gradient(135deg, #10b981, #059669);
}

.sms-mark-paid:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

.sms-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.sms-invoice {
    background: white;
    padding: 50px;
    max-width: 900px;
    margin: 30px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    position: relative;
    border: 1px solid #e2e8f0;
}

.sms-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 3px solid #f1f5f9;
}

.sms-company-info {
    flex: 1;
}

.sms-invoice-title {
    text-align: right;
}

.sms-company-logo {
    max-width: 200px;
    max-height: 100px;
    margin-bottom: 25px;
}

.sms-invoice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.sms-invoice-section h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.sms-invoice-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.sms-invoice-items th {
    background: #f8fafc;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
}

.sms-invoice-items td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.sms-invoice-total {
    text-align: right;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a365d;
    margin-top: 30px;
}

.sms-settings-form .form-table th {
    width: 250px;
    padding: 25px 15px 25px 0;
    font-weight: 600;
    color: #374151;
}

.sms-settings-form .form-table td {
    padding: 20px 15px;
}

.sms-color-field {
    width: 120px !important;
}

.sms-shortcode-memory {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-family: "Monaco", "Consolas", monospace;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1e40af;
    transition: all 0.3s ease;
}

.sms-shortcode-memory:hover {
    background: #e0f2fe;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.sms-settings-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sms-settings-section h3 {
    margin-top: 0;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.sms-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.sms-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sms-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 30px;
}

.sms-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .sms-toggle-slider {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

input:checked + .sms-toggle-slider:before {
    transform: translateX(30px);
}

@media print {
    .sms-invoice {
        box-shadow: none;
        margin: 0;
        padding: 30px;
    }
    
    .no-print {
        display: none !important;
    }
}

.wp-core-ui .button-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wp-core-ui .button-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.sms-usage-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.sms-usage-table th {
    background: #f8fafc;
    padding: 18px;
    text-align: left;
    font-weight: 700;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
}

.sms-usage-table td {
    padding: 18px;
    border-bottom: 1px solid #f1f5f9;
}
        