/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #00C750;
    --primary-hover: #00a642;
    --text-color: #333;
    --background-color: #f5f5f5;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
}

h1 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-group label i {
    color: #00bf6f;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #00bf6f;
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    width: 100%;
    padding: 0.75rem;
    padding-right: 2.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
}

.password-input input:focus {
    outline: none;
    border-color: #00bf6f;
    box-shadow: 0 0 0 2px rgba(0, 191, 111, 0.1);
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #333;
}

.toggle-password:focus {
    outline: none;
    color: #00bf6f;
}

.btn-submit {
    background: #00bf6f;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background: #00a65c;
}

.alert {
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Login Page Styles */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    padding: 32px;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.login-logo {
    height: 48px;
    width: auto;
}

.login-body {
    padding: 32px;
}

.login-body h1 {
    margin: 0 0 24px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.alert-error {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #feb2b2;
}

.alert i {
    font-size: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 16px;
}

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

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    outline: none;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 48px;
    width: 100%;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    width: 100%;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-submit i {
    font-size: 18px;
}

.login-footer {
    padding: 24px 32px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.admin-link {
    color: #718096;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.admin-link:hover {
    color: var(--primary-color);
}

/* Dashboard styles */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: white;
    padding: 20px;
    border-right: 1px solid var(--border-color);
}

.main-content {
    flex: 1;
    padding: 20px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.top-bar h1 {
    font-size: 1.75rem;
    color: #333;
    margin: 0;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.search-bar {
    flex: 1;
    margin-right: 1rem;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: #00bf6f;
    box-shadow: 0 0 0 2px rgba(0, 191, 111, 0.1);
}

.btn-add-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #00bf6f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-client:hover {
    background: #00a65c;
}

.btn-add-client i {
    font-size: 1.1rem;
}

.clients-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.client-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.client-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
}

.client-logo-placeholder {
    width: 48px;
    height: 48px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.client-details h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.client-login {
    color: #666;
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}

.client-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #f5f5f5;
    color: #00bf6f;
}

.btn-action.btn-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.header h1 {
    font-size: 1.75rem;
    color: #333;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-add-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #00bf6f, #00a65c);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 191, 111, 0.2);
}

.btn-add-client:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 191, 111, 0.3);
    background: linear-gradient(135deg, #00cc78, #00b363);
}

.btn-add-client:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 191, 111, 0.2);
}

.btn-add-client i {
    font-size: 1.1rem;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #e0e0e0;
    color: #333;
}

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

.table {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 500;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.nav-item.active {
    background-color: #e6f7ee;
    color: var(--primary-color);
}

.nav-item:hover {
    background-color: #f5f5f5;
}

.nav-item i {
    margin-right: 12px;
    font-size: 18px;
}

.btn-logout {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.btn-logout:hover {
    color: var(--primary-color);
}

.btn-add {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.btn-add:hover {
    background-color: var(--primary-hover);
}

.btn-add i {
    margin-right: 8px;
}

/* Document management page styles */

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.card h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.upload-form {
    max-width: 500px;
}

.file-input {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.file-input:hover {
    border-color: var(--primary-color);
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.document-item:hover {
    background: #f0f1f2;
}

.document-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.document-details {
    display: flex;
    flex-direction: column;
}

.document-name {
    font-weight: 500;
    color: #333;
}

.document-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-date i {
    font-size: 12px;
    color: #666;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-action:hover {
    background: #f0f0f0;
    color: #00bf6f;
}

.btn-action.btn-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

.btn-action i {
    font-size: 1.1rem;
}

.btn-view {
    color: #4a90e2;
}

.btn-view:hover {
    background: #edf5ff;
    color: #2171d0;
}

.btn-download {
    color: #28a745;
}

.btn-download:hover {
    background: #e6f7ee;
    color: #1e7e34;
}

.btn-delete {
    color: #dc3545;
}

.btn-delete:hover {
    background: #fff5f5;
    color: #bd2130;
}

.fas {
    margin-right: 8px;
}

.btn-action i {
    margin: 0;
}

.text-primary {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.btn-back:hover {
    color: var(--primary-color);
}

.success {
    background-color: #e6f7ee;
    border: 1px solid #00c750;
    color: #00a642;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.clients-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.client-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-details h3 {
    margin: 0;
    font-size: 16px;
    color: #2d3748;
}

.client-login {
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-action:hover {
    background: #f7fafc;
    color: var(--primary-color);
}

.btn-action.btn-delete:hover {
    background: #fff5f5;
    color: #e53e3e;
}

.no-data {
    text-align: center;
    padding: 32px;
    color: #718096;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.no-data i {
    font-size: 24px;
    color: #a0aec0;
}

/* Client Interface Styles */
.client-interface {
    background: #f5f7fa;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

.client-header {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-info h1 {
    margin: 0 0 4px;
    font-size: 24px;
    color: #2d3748;
}

.client-login {
    color: #718096;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.client-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 8px;
}

.client-main {
    margin-top: 24px;
}

.documents-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.documents-section h2 {
    margin: 0 0 24px;
    font-size: 20px;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.documents-section h2 i {
    color: var(--primary-color);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.document-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.document-icon {
    width: 40px;
    height: 40px;
    background: #edf2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.document-info {
    flex: 1;
}

.document-name {
    margin: 0 0 4px;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
}

.document-date {
    margin: 0;
    font-size: 13px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-date i {
    font-size: 12px;
}

.document-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view:hover {
    background: #edf2ff;
    color: var(--primary-color);
}

.btn-download:hover {
    background: #f0fff4;
    color: #38a169;
}

.no-documents {
    text-align: center;
    padding: 48px 0;
    color: #a0aec0;
}

.no-documents i {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-documents p {
    margin: 0;
    font-size: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.alert-error {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #feb2b2;
}

.alert-success {
    background: #f0fff4;
    color: #38a169;
    border: 1px solid #9ae6b4;
}

.alert i {
    font-size: 16px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.btn-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.btn-close:hover {
    color: #dc2626;
}

.modal form {
    padding: 1.5rem;
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.modal .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal .form-group input:focus {
    outline: none;
    border-color: #00bf6f;
    box-shadow: 0 0 0 2px rgba(0, 191, 111, 0.1);
}

.modal .form-help {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #00bf6f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #00a65c;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: #f5f5f5;
    color: #666;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

/* Document Management Styles */
.upload-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-input-wrapper {
    position: relative;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px dashed #00bf6f;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-label:hover {
    background: #e9ecef;
    border-color: #00a65c;
}

.file-info {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.file-formats {
    color: #666;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #00bf6f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.btn-upload:hover {
    background: #00a65c;
}

.documents-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.documents-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 2rem;
    color: #00bf6f;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #00bf6f;
    color: white;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #00a65c;
}

.no-documents {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-documents i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.no-documents p {
    margin: 0;
    font-size: 1.1rem;
}

.document-header {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.document-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.title-text {
    text-align: center;
}

.title-text h1 {
    margin: 0;
    font-size: 1.75rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.client-name {
    display: block;
    color: #666;
    font-size: 1rem;
}

.client-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-back,
.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-back {
    color: #666;
    background: #f5f5f5;
}

.btn-back:hover {
    background: #e0e0e0;
    color: #333;
}

.btn-logout {
    color: #dc3545;
    background: #fff5f5;
}

.btn-logout:hover {
    background: #ffe5e5;
    color: #c82333;
}
