/* assets/css/vault-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.vault-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.vault-header {
    margin-bottom: 20px;
}

.vault-header h2,
.vault-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.vault-header p {
    font-size: 16px;
    color: #666;
}

.vault-message,
.vault-success,
.vault-error,
.vault-errors,
.vault-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 4px solid;
}

.vault-message {
    background-color: #e6f3ff;
    border-color: #007bff;
}

.vault-success,
.vault-notice {
    background-color: #e6ffed;
    border-color: #28a745;
}

.vault-error,
.vault-errors {
    background-color: #ffe6e6;
    border-color: #dc3545;
}

.vault-message i,
.vault-success i,
.vault-error i,
.vault-notice i {
    margin-right: 8px;
}

.vault-link {
    color: #007bff;
    text-decoration: none;
}

.vault-link:hover {
    text-decoration: underline;
}

.vault-dashboard {
    display: flex;
    min-height: 100vh;
}

.vault-sidebar {
    width: 220px;
    background-color: #1a202c;
    color: #fff;
    padding: 20px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.sidebar-name {
    font-size: 18px;
    font-weight: 600;
}

.sidebar-role {
    font-size: 14px;
    color: #a0aec0;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #a0aec0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.sidebar-menu li a i {
    margin-right: 10px;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background-color: #2d3748;
    color: #fff;
}

.sidebar-menu li a.logout:hover {
    background-color: #dc3545;
}

.vault-main-content {
    margin-left: 220px;
    padding: 20px;
    flex: 1;
    background-color: #f4f4f4;
}

.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

.dashboard-header p {
    font-size: 16px;
    color: #666;
}

.vault-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.vault-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.profile-section,
.vault-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-avatar,
.vault-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.vault-avatar.fa-user-circle {
    font-size: 60px;
    color: #666;
}

.profile-details p,
.vault-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.profile-details p i,
.vault-details p i {
    margin-right: 8px;
}

.qr-section {
    text-align: center;
    margin-bottom: 20px;
}

.qr-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.qr-code {
    width: 120px;
    margin-bottom: 10px;
}

.qr-section p {
    font-size: 14px;
    color: #666;
}

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

.no-vault {
    text-align: center;
    padding: 20px;
}

.no-vault i {
    font-size: 48px;
    color: #666;
    margin-bottom: 10px;
}

.no-vault h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.no-vault p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.stat-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007bff;
}

.stat-icon.approved {
    color: #28a745;
}

.stat-icon.pending {
    color: #d39e00;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 14px;
    color: #666;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.approved {
    background-color: #e6ffed;
    color: #28a745;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #d39e00;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 5px;
    display: block;
}

button,
a.button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

button i,
a.button i {
    margin-right: 8px;
}

button.primary,
a.button.primary {
    background-color: #007bff;
    color: #fff;
    border: none;
}

button.primary:hover,
a.button.primary:hover {
    background-color: #0056b3;
}

button.secondary,
a.button.secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

button.secondary:hover,
a.button.secondary:hover {
    background-color: #5a6268;
}

.thumbnail-upload {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 15px;
}

.thumbnail-upload img {
    max-width: 128px;
    margin-bottom: 10px;
}

.thumbnail-upload i {
    font-size: 48px;
    color: #666;
    margin-bottom: 10px;
}

.thumbnail-upload p {
    font-size: 14px;
    color: #666;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table th {
    background-color: #f9fafb;
    font-weight: 600;
}

table tr:last-child td {
    border-bottom: none;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.right-2 {
    right: 8px;
}

.top-2 {
    top: 8px;
}

.hidden {
    display: none;
}

.vault-header.gradient {
    background: linear-gradient(to right, #007bff, #6610f2);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.vault-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vault-header-info h1 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.vault-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vault-meta span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.vault-header-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.vault-header-avatar.fa-user-circle {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
}

.vault-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 767px) {
    .vault-sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    .vault-main-content {
        margin-left: 0;
        padding: 15px;
    }
    .vault-header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}