/* MotionCEO Variation Serial Manager - Admin Styles */

/* Main Container */
.vsm-wrapper {
    max-width: 1200px;
    margin: 20px 0;
}

/* Card Style */
.vsm-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border: 1px solid #e0e0e0;
    max-width: 800px;
    margin-top: 20px;
}

/* Form Styles inside Card */
.vsm-card h2,
.vsm-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #23282d;
    font-weight: 600;
}

.vsm-card .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
    font-weight: 600;
    color: #555;
}

.vsm-card .form-table td {
    padding: 15px 10px;
}

/* Inputs */
.vsm-card input[type="text"],
.vsm-card input[type="number"],
.vsm-card input[type="email"],
.vsm-card textarea,
.vsm-card select {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 400px;
}

.vsm-card textarea {
    max-width: 100%;
}

.vsm-card input:focus,
.vsm-card select:focus,
.vsm-card textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Select2 Tweaks if used, or just better regular selects */
.vsm-card select {
    height: 40px;
    vertical-align: middle;
}

/* Helper Text */
.vsm-card .description {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    font-style: normal;
}

/* Buttons */
.vsm-card .button.button-primary {
    background: #2271b1;
    border: none;
    color: #fff;
    padding: 8px 24px;
    font-size: 14px;
    border-radius: 4px;
    height: auto;
    line-height: 1.6;
    margin-top: 20px;
    transition: background 0.2s;
}

.vsm-card .button.button-primary:hover {
    background: #135e96;
}

/* Table List View */
.vsm-list-table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.vsm-list-table .wp-list-table {
    border: none;
    box-shadow: none;
}

.vsm-list-table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    padding: 15px 10px;
    font-weight: 700;
    color: #444;
}

.vsm-list-table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-available {
    background: #d4edda;
    color: #155724;
}

.badge-sold {
    background: #cce5ff;
    color: #004085;
}

.badge-expired {
    background: #f8d7da;
    color: #721c24;
}

.badge-inactive {
    background: #e2e3e5;
    color: #383d41;
}

/* Nav Tabs */
.nav-tab-wrapper {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
    padding-left: 0;
}

.nav-tab {
    background: #eaeaea;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    color: #555;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-tab-active,
.nav-tab-active:hover {
    background: #fff;
    color: #000;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    box-shadow: 0 -2px 0 #2271b1 inset;
}

/* Settings Page Layout */
.vsm-settings-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vsm-settings-main {
    flex: 2;
    min-width: 0;
}

.vsm-settings-sidebar {
    flex: 1;
    min-width: 300px;
}

/* Sidebar Card Specifics */
.vsm-settings-sidebar .vsm-card {
    margin-top: 20px;
    border-top: 3px solid #2271b1;
}

.vsm-settings-sidebar h3 {
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.vsm-settings-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vsm-settings-sidebar ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: #555;
}

.vsm-settings-sidebar ul li:before {
    content: "✔";
    color: #00a32a;
    position: absolute;
    left: 0;
    top: 0;
}

.vsm-upgrade-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    background: #2271b1 !important;
    color: #fff !important;
    padding: 10px !important;
    height: auto !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none;
    border-radius: 4px;
}

.vsm-upgrade-btn:hover {
    background: #135e96 !important;
}