/**
 * MOB Smart Licenses - Frontend Styles
 */

/* General Styles */
.mob-smart-licenses-notice {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

.mob-smart-licenses-notice.error {
    border-left-color: #d63638;
    background-color: #fbeaea;
    color: #8a2424;
}

.mob-smart-licenses-notice.success {
    border-left-color: #00a32a;
    background-color: #edfaef;
    color: #1e4620;
}

/* Dashboard Styles */
.mob-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mob-dashboard-header {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.mob-dashboard-header h2 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 2.5em;
}

.mob-dashboard-nav {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.mob-nav-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.mob-nav-tab:hover {
    background-color: #f8fafc;
    color: #475569;
}

.mob-nav-tab.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background-color: #eff6ff;
}

.mob-dashboard-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Plans Styles */
.mob-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mob-plans-header {
    text-align: center;
    margin-bottom: 40px;
}

.mob-plans-header h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #1e293b;
}

.mob-software-description {
    font-size: 1.2em;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.mob-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mob-plan-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.mob-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mob-plan-popular {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.mob-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.mob-plan-header h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #1e293b;
}

.mob-plan-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #3b82f6;
    margin: 20px 0;
}

.mob-plan-price .currency {
    font-size: 0.6em;
    vertical-align: top;
}

.mob-plan-price .period {
    font-size: 0.4em;
    color: #64748b;
    font-weight: normal;
}

.mob-plan-features {
    margin: 25px 0;
}

.mob-plan-features ul {
    list-style: none;
    padding: 0;
}

.mob-plan-features li {
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.mob-plan-features li:last-child {
    border-bottom: none;
}

.mob-plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
}

.mob-plan-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.mob-plan-button:hover {
    background: #2563eb;
    color: white;
}

.mob-plan-popular .mob-plan-button {
    background: #1d4ed8;
}

.mob-plan-popular .mob-plan-button:hover {
    background: #1e40af;
}

/* Checkout Styles */
.mob-checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.mob-checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.mob-checkout-header h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #1e293b;
}

.mob-checkout-content {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .mob-checkout-content {
        grid-template-columns: 1fr 1fr;
    }
}

.mob-product-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mob-product-summary h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.mob-product-info h4 {
    color: #3b82f6;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.mob-plan-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #475569;
    margin-bottom: 15px;
}

.mob-plan-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mob-checkout-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mob-form-group {
    margin-bottom: 20px;
}

.mob-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #374151;
}

.mob-form-group input,
.mob-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
}

.mob-form-group input:focus,
.mob-form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mob-checkout-button {
    width: 100%;
    padding: 15px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mob-checkout-button:hover {
    background: #059669;
}

.mob-checkout-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* Subscription and License Cards */
.mob-subscription-card,
.mob-license-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3b82f6;
}

.mob-subscription-card.expired,
.mob-license-card.expired {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.mob-subscription-card.active,
.mob-license-card.active {
    border-left-color: #10b981;
}

.mob-card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
}

.mob-card-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #1e293b;
    margin: 0;
}

.mob-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
}

.mob-status-badge.active {
    background: #dcfce7;
    color: #166534;
}

.mob-status-badge.expired {
    background: #fee2e2;
    color: #991b1b;
}

.mob-status-badge.cancelled {
    background: #f3f4f6;
    color: #374151;
}

.mob-card-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.mob-detail-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mob-detail-label {
    font-weight: bold;
    color: #374151;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mob-detail-value {
    color: #1f2937;
    margin-top: 5px;
}

/* Popup Checkout Styles */
.mob-checkout-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: mob-fadeIn 0.3s ease-out;
}

.mob-checkout-popup {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: mob-slideUp 0.3s ease-out;
    position: relative;
}

.mob-checkout-popup-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mob-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.mob-popup-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}

.mob-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.mob-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mob-popup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex: 1;
}

.mob-product-summary {
    padding: 30px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.mob-product-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.mob-product-icon {
    margin-right: 15px;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.mob-product-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.3em;
    color: #1e293b;
    font-weight: 600;
}

.mob-plan-name {
    color: #3b82f6;
    font-weight: 500;
    margin: 0;
}

.mob-plan-description {
    color: #64748b;
    line-height: 1.6;
    margin: 15px 0 25px 0;
}

.mob-plan-features h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 1.1em;
    font-weight: 600;
}

.mob-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mob-plan-features li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.mob-plan-features li:last-child {
    border-bottom: none;
}

.mob-feature-icon {
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
}

.mob-checkout-form {
    padding: 30px;
    background: white;
}

.mob-price-section {
    margin-bottom: 30px;
    text-align: center;
}

.mob-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 15px;
}

.mob-currency {
    font-size: 1.2em;
    color: #64748b;
    margin-right: 5px;
}

.mob-price-amount {
    font-size: 3em;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.mob-price-period {
    font-size: 1.1em;
    color: #64748b;
    margin-left: 5px;
}

.mob-trial-notice {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-trial-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.mob-checkout-form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mob-form-group {
    display: flex;
    flex-direction: column;
}

.mob-form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.mob-form-group input {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.mob-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mob-terms-section {
    margin: 10px 0;
}

.mob-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
    color: #374151;
}

.mob-checkbox-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.mob-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.mob-checkbox-label input[type="checkbox"]:checked + .mob-checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.mob-checkbox-label input[type="checkbox"]:checked + .mob-checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mob-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mob-btn-secondary,
.mob-btn-primary {
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 50px;
}

.mob-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    flex: 0 0 auto;
}

.mob-btn-secondary:hover {
    background: #e5e7eb;
}

.mob-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    flex: 1;
}

.mob-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.mob-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mob-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mob-spinner {
    animation: mob-spin 1s linear infinite;
}

.mob-spinner-path {
    animation: mob-spinPath 1.5s ease-in-out infinite;
}

.mob-popup-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 16px 16px;
}

.mob-security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.mob-security-item {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.mob-security-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Plan Button Popup Mode */
.mob-plan-button-popup {
    cursor: pointer;
    user-select: none;
}

.mob-plan-button-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Loading Overlay */
.mob-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mob-loading-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.mob-loading-content .mob-spinner {
    margin-bottom: 15px;
}

.mob-loading-content p {
    margin: 0;
    color: #64748b;
    font-weight: 500;
}

/* Notifications */
.mob-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20000;
    min-width: 300px;
    max-width: 500px;
    animation: mob-slideInRight 0.3s ease-out;
}

.mob-notification-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    border-left: 4px solid #3b82f6;
}

.mob-notification-error .mob-notification-content {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.mob-notification-success .mob-notification-content {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.mob-notification-icon {
    font-size: 18px;
    margin-right: 12px;
}

.mob-notification-message {
    flex: 1;
    color: #374151;
    font-weight: 500;
}

.mob-notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    line-height: 1;
}

.mob-notification-close:hover {
    color: #6b7280;
}

/* Body class for popup open */
body.mob-popup-open {
    overflow: hidden;
}

/* Form validation errors */
.mob-form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Additional animations */
@keyframes mob-slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animations */
@keyframes mob-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mob-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mob-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mob-spinPath {
    0% {
        stroke-dashoffset: 31.416;
    }
    50% {
        stroke-dashoffset: 7.854;
    }
    100% {
        stroke-dashoffset: 31.416;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mob-dashboard-nav {
        flex-direction: column;
    }
    
    .mob-nav-tab {
        border-bottom: 1px solid #e5e7eb;
        border-right: none;
    }
    
    .mob-nav-tab:last-child {
        border-bottom: none;
    }
    
    .mob-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .mob-plan-popular {
        transform: none;
    }
    
    .mob-card-details {
        grid-template-columns: 1fr;
    }
    
    .mob-checkout-popup {
        margin: 10px;
        max-height: 95vh;
        border-radius: 12px;
    }

    .mob-popup-body {
        grid-template-columns: 1fr;
    }

    .mob-product-summary {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 20px;
    }

    .mob-checkout-form {
        padding: 20px;
    }

    .mob-popup-header {
        padding: 20px;
    }

    .mob-popup-header h2 {
        font-size: 1.3em;
    }

    .mob-price-amount {
        font-size: 2.5em;
    }

    .mob-security-badges {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .mob-form-actions {
        flex-direction: column;
    }

    .mob-btn-secondary {
        order: 2;
    }

    .mob-btn-primary {
        order: 1;
    }
}

@media (max-width: 480px) {
    .mob-checkout-popup-overlay {
        padding: 10px;
    }

    .mob-product-header {
        flex-direction: column;
        text-align: center;
    }

    .mob-product-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .mob-price-display {
        flex-direction: column;
        align-items: center;
    }

    .mob-currency,
    .mob-price-period {
        margin: 0;
    }
}

/* PayPal Button Container */
#mob-paypal-button-container {
    flex: 1;
    min-height: 50px;
}

#mob-paypal-button-container .paypal-buttons {
    border-radius: 8px;
    overflow: hidden;
}

#mob-paypal-button-container iframe {
    border-radius: 8px !important;
}

/* PayPal button styling adjustments */
.mob-form-actions .paypal-button {
    width: 100%;
    min-height: 50px;
}

/* Hide traditional checkout when PayPal is active */
#mob-traditional-checkout.paypal-active {
    display: none;
}

/* MOB License Dashboard Styles */
.mob-license-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dashboard Welcome Section */
.dashboard-welcome {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-welcome h2 {
    color: #8450d0;
    margin-bottom: 10px;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid #8450d0;
}

.stat-box h3 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: #8450d0;
}

.stat-box p {
    margin: 0;
    color: #666;
    font-size: 1.1em;
}

/* Dashboard Tabs */
.dashboard-tabs {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #666;
}

.tab-button:hover {
    background: #e9ecef;
    color: #333;
}

.tab-button.active {
    background: #8450d0;
    color: white;
    font-weight: 600;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* License Items */
.licenses-list {
    display: grid;
    gap: 20px;
}

.license-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.license-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.license-header h4 {
    margin: 0;
    color: #333;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.status-suspended {
    background: #fff3cd;
    color: #856404;
}

.license-details {
    margin-bottom: 15px;
}

.license-details p {
    margin: 5px 0;
    color: #666;
}

.license-details code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #8450d0;
}

.license-actions {
    display: flex;
    gap: 10px;
}

/* Success Message */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.success-message h3 {
    margin: 0 0 10px 0;
    color: #155724;
}

/* Button Enhancements */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: #8450d0;
    color: white;
}

.btn-primary:hover {
    background: #6a3ba8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(132, 80, 208, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .mob-license-dashboard {
        padding: 15px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        flex-direction: column;
    }
    
    .tab-button {
        flex: none;
    }
    
    .license-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .license-actions {
        flex-direction: column;
    }
}

/* Domain Lock Styles */
.mob-domain-locked {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9em;
}

.mob-domain-unlocked {
    color: #6c757d;
    font-style: italic;
}

.mob-domain-lock-btn {
    margin-left: 8px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.mob-button-tertiary {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.mob-button-tertiary:hover {
    background-color: #e9ecef;
    color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mob-button-warning {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.mob-button-warning:hover {
    background-color: #ffca2c;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.mob-button-primary, .mob-button-secondary, .mob-button-tertiary, .mob-button-warning {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 4px 4px 0;
}

.mob-button-primary {
    background-color: #8450d0;
    color: white;
}

.mob-button-primary:hover {
    background-color: #6a3ba8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(132, 80, 208, 0.3);
}

.mob-button-secondary {
    background-color: #6c757d;
    color: white;
}

.mob-button-secondary:hover {
    background-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.mob-license-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
