/**
Theme Name: Anime Alley
Author: Saif Bin Alam
Author URI: https://www.toptal.com/resume/saif-bin-alam
Description: This is a custom theme developed for Anime Alley
Version: 1.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anime-alley
Template: astra
*/

/* General Styles */
body {
    margin: 0;
    padding: 0;
}

#app {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 302px;
    background-color: #fff;
    color: #596780;
    padding: 20px;
    border-right: 1px solid #F3F5F7;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.sidebar-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-left: 20px;
}

.sidebar a {
    color: #596780;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

h5.text-center {
    color: #90A3BF;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-left: 20px;
}

/* Sidebar Navigation */
nav.sidebar-nav a {
    color: #596780;
    text-decoration: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 14px;
    border-radius: 14px;
    cursor: pointer;
}

.sidebar a:hover {
    background-color: #F1F1F1;
    color: #1C1C1C;
}

nav.sidebar-nav a.active {
    font-size: 18px;
    color: #1C1C1C;
    font-weight: 500;
    background: #F1F1F1;
}

nav.sidebar-nav svg.nav-icon {
    margin-right: 15px;
}

/* Content Area */
.content {
    flex: 1;
    padding: 20px;
    background: #F6F7F9;
}

.dashboard-inner-content-area {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    margin: 10px;
    height: 90vh;
    overflow: scroll;
}

/* PSA Dashboard */
#psa-dashboard {
    font-family: Arial, sans-serif;
}

.submissions-table {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.submissions-header,
.submissions-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.header-cell,
.cell {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #1A202C;
}

.header-cell {
    color: #90A3BF;
    font-size: 14px;
    font-weight: 500;
}

/* Preview Column */
.preview-column {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent overflowing content */
}

.preview-images {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping of images */
    gap: 5px;
    overflow: hidden; /* Ensure overflow is hidden */
    max-height: 60px; /* Adjust the height to fit a single row */
}

.preview-images img {
    width: 35px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.more-images {
    font-weight: bold;
    margin-left: 10px;
    font-size: 14px;
    color: #0073aa;
    align-self: center;
}

/* Responsive Design */
@media (width <= 768px) {
    .header-cell,
    .cell {
        font-size: 12px;
    }

    .preview-images img {
        width: 40px;
    }

    .more-images {
        font-size: 12px;
    }
}

.submissions-row {
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    cursor: pointer;
}

/* Loading and No Data States */
.loading,
.no-data {
    text-align: center;
    margin: 20px;
}

/* Modal Styles */
.modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 40%);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Card Table Styles */
.cards-table {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.cards-header,
.cards-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    align-items: center;
}

.cards-row:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.cards-row img {
    max-height: 90px;
}

.card-details img {
    width: 200px;
    height: auto;
    margin: 10px;
}

/* Example styling for the vault grid */
.vault-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row */
    gap: 1rem;
}

.vault-card-item {
    border: 1px solid #ccc;
    padding: 1em;
    text-align: center;
}

.card-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0.5em;
}

.card-type {
    font-weight: bold;
    margin-bottom: 0.3em;
}

.card-title-grade {
    margin-bottom: 0.5em;
}

.card-price {
    color: #e60000; /* red-ish for emphasis */
    margin-bottom: 0.3em;
}

.card-vat, .card-shipping {
    font-size: 0.9em;
    color: #777;
    margin: 0;
}

/* login page */

.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-form form {
    width: 80%;
}