/* Platform Theme for non-admin pages */

/* Dashboard Cards */
.dashboard-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(47, 91, 234, 0.075);
}
.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(47, 91, 234, 0.15);
}
.dashboard-card .card-body {
    padding: 1.25rem;
}

/* Stats Cards */
.stat-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(47, 91, 234, 0.15);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Page Headers */
.page-title {
    font-weight: 700;
    color: #1a1a2e;
}
.page-subtitle {
    color: #8480ae;
    font-size: 0.9rem;
}

/* Form Inputs - Platform style */
.form-control, .form-select {
    height: 52px;
    border-radius: 0.75rem;
    border: 2px solid #ebebeb;
    color: #1a1a2e;
    padding: 0 1rem;
    transition-duration: 350ms;
}
.form-control:focus, .form-select:focus {
    border-color: #0052CC;
    box-shadow: none;
}
textarea.form-control {
    min-height: calc(8em + 0.75rem + 2px);
    height: auto;
    padding-top: 0.75rem;
}

/* Buttons - Platform style */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-primary {
    background: #0052CC;
    border-color: #0052CC;
}
.btn-primary:hover {
    background: #0042a3;
    border-color: #0042a3;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* Tables - Platform style */
.table thead {
    background: #efeffd;
}
.table thead th {
    color: #1a1a2e;
    font-weight: 600;
    border-bottom: none;
}
.table tbody tr {
    transition: box-shadow 0.2s ease;
}
.table tbody tr:hover {
    background: rgba(0, 82, 204, 0.03);
    box-shadow: 0 1px 3px rgba(47, 91, 234, 0.08);
}

/* Badge styling */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Alerts / Info boxes */
.info-box {
    background: #f8f9ff;
    border: 1px solid #e8ecf4;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
}
.info-box.primary {
    background: rgba(0, 82, 204, 0.05);
    border-color: rgba(0, 82, 204, 0.15);
}
.info-box.success {
    background: rgba(25, 135, 84, 0.05);
    border-color: rgba(25, 135, 84, 0.15);
}
.info-box.warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
}
.info-box.danger {
    background: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.15);
}

/* Section divider */
.section-divider {
    border-top: 1px solid #ebebeb;
    margin: 1.5rem 0;
}

/* Value/Label pairs */
.value-label {
    color: #8480ae;
    font-size: 0.85rem;
}
.value-content {
    color: #1a1a2e;
    font-weight: 600;
}

/* Empty states */
.empty-state {
    padding: 3rem 1rem;
    text-align: center;
}
.empty-state i {
    font-size: 2.5rem;
    color: #8480ae;
    margin-bottom: 0.75rem;
}

/* List groups */
.list-group-item {
    border-color: #ebebeb;
    padding: 0.75rem 1rem;
}

/* Links */
a {
    color: #0052CC;
    transition: color 0.2s ease;
}
a:hover {
    color: #0042a3;
}

/* Dashboard sidebar (vendor/affiliate) */
.platform-sidebar .nav-item {
    margin-bottom: 0.25rem;
}
.platform-sidebar .nav-link {
    color: #1a1a2e;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}
.platform-sidebar .nav-link:hover {
    background: rgba(0, 82, 204, 0.05);
    color: #0052CC;
}
.platform-sidebar .nav-link.active {
    background: rgba(0, 82, 204, 0.1);
    color: #0052CC;
    font-weight: 600;
}
.platform-sidebar .nav-link i {
    margin-right: 0.625rem;
    font-size: 1.1rem;
}

/* Image upload placeholders */
.img-upload-placeholder {
    border: 2px dashed #ebebeb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #8480ae;
    transition: all 0.3s ease;
    cursor: pointer;
}
.img-upload-placeholder:hover {
    border-color: #0052CC;
    color: #0052CC;
    background: rgba(0, 82, 204, 0.03);
}

/* Navigation pills */
.nav-pills .nav-link {
    border-radius: 0.75rem;
    color: #1a1a2e;
    font-weight: 500;
}
.nav-pills .nav-link.active {
    background: #0052CC;
    color: #fff;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: #1a1a2e;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    margin: 0 2px;
}
.pagination .page-item.active .page-link {
    background: #0052CC;
    color: #fff;
}

/* Progress bars */
.progress {
    border-radius: 0.5rem;
    background: #efeffd;
}

/* Modal enhancements */
.modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(47, 91, 234, 0.175);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .dashboard-card .card-body {
        padding: 1rem;
    }
    .stat-card {
        padding: 1rem;
    }
}
