/* Document Manager Pro WordPress Plugin Styles */
/* Enhanced styles with WordPress Media Library integration */

/* Notifications */
.dmp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
}

.dmp-notification-show {
    transform: translateX(0);
    opacity: 1;
}

.dmp-notification-success {
    border-left: 4px solid #10b981;
}

.dmp-notification-error {
    border-left: 4px solid #ef4444;
}

.dmp-notification-icon {
    font-size: 1.25rem;
}

.dmp-notification-message {
    font-weight: 500;
    color: #374151;
}

/* Loading State */
.dmp-loading {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0fdf4 100%);
    border-radius: 12px;
    margin: 20px 0;
}

.dmp-spinner {
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: dmp-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes dmp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dmp-loading p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

/* Document Manager App Container */
#document-manager-pro-app {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
}

/* Navigation */
.dmp-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dmp-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dmp-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dmp-logo-icon {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    padding: 0.75rem;
    border-radius: 12px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.dmp-logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.dmp-logo-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.dmp-nav-tabs {
    display: flex;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.375rem;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dmp-nav-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    color: #6b7280;
    white-space: nowrap;
}

.dmp-nav-tab.active {
    background: white;
    color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dmp-nav-tab:hover:not(.active) {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.5);
}

.dmp-badge {
    background: #dbeafe;
    color: #3b82f6;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

/* Upload Page */
.dmp-upload-page {
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0fdf4 100%);
    padding: 3rem 1.5rem;
}

.dmp-upload-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dmp-upload-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dmp-upload-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dmp-upload-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.dmp-document-count {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    color: #1e40af;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* File Upload */
.dmp-file-upload {
    margin-bottom: 3rem;
}

.dmp-drop-zone {
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.dmp-drop-zone:hover {
    border-color: #9ca3af;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dmp-drop-zone.dragover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
}

.dmp-upload-icon {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: 1.5rem;
    border-radius: 50%;
    display: inline-flex;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #6b7280;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dmp-drop-zone.dragover .dmp-upload-icon {
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    color: #3b82f6;
    transform: scale(1.1);
}

.dmp-upload-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.dmp-upload-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.dmp-upload-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    font-size: 1.1rem;
}

.dmp-upload-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.dmp-file-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Progress */
.dmp-upload-progress {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dmp-upload-progress h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.dmp-progress-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.dmp-progress-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.dmp-progress-icon {
    color: #3b82f6;
    font-size: 1.5rem;
}

.dmp-progress-info {
    flex: 1;
}

.dmp-progress-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.dmp-progress-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
}

.dmp-progress-bar {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.dmp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transition: width 0.3s ease;
    border-radius: 5px;
}

/* Features Grid */
.dmp-features {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dmp-feature {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dmp-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.dmp-feature-icon {
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dmp-feature-icon.search {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.dmp-feature-icon.metadata {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.dmp-feature-icon.security {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe);
}

.dmp-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.dmp-feature p {
    color: #6b7280;
    line-height: 1.6;
}

/* Documents Page */
.dmp-documents-page {
    min-height: 80vh;
    background: #f9fafb;
    padding: 2rem 1.5rem;
}

.dmp-documents-container {
    max-width: 1600px;
    margin: 0 auto;
}

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

.dmp-documents-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dmp-documents-header p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Search Bar */
.dmp-search-bar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.dmp-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dmp-search-field {
    display: flex;
    flex-direction: column;
}

.dmp-search-field.wide {
    grid-column: span 2;
}

.dmp-search-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.dmp-search-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

.dmp-search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dmp-search-input-icon {
    position: relative;
}

.dmp-search-input-icon input {
    padding-left: 3rem;
}

.dmp-search-input-icon .dmp-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
}

.dmp-sort-controls {
    display: flex;
    gap: 0.5rem;
}

.dmp-sort-select {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
}

.dmp-sort-btn {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.dmp-sort-btn:hover {
    background: #f9fafb;
    border-color: #3b82f6;
}

/* Document Grid */
.dmp-document-grid {
    margin-bottom: 2rem;
}

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

.dmp-grid-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.dmp-media-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.dmp-media-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.dmp-documents-grid {
    display: grid;
    gap: 1.5rem;
}

.dmp-grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.dmp-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.dmp-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.dmp-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.dmp-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.dmp-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* Document Card */
.dmp-document-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.dmp-document-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.dmp-card-content {
    padding: 1.5rem;
}

.dmp-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dmp-card-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.dmp-file-icon {
    font-size: 3rem;
    color: #ef4444;
    flex-shrink: 0;
}

.dmp-file-icon.ppt,
.dmp-file-icon.pptx {
    color: #f97316;
}

.dmp-card-details {
    min-width: 0;
    flex: 1;
}

.dmp-card-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
    word-break: break-word;
}

.dmp-document-card:hover .dmp-card-details h3 {
    color: #3b82f6;
}

.dmp-file-meta {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.dmp-media-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    color: #1e40af;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.dmp-card-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.dmp-document-card:hover .dmp-card-actions {
    opacity: 1;
}

.dmp-action-btn {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.dmp-action-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.dmp-action-btn.preview:hover {
    background: #d1fae5;
    color: #059669;
}

.dmp-action-btn.download:hover {
    background: #dbeafe;
    color: #3b82f6;
}

.dmp-action-btn.external:hover {
    background: #e9d5ff;
    color: #8b5cf6;
}

.dmp-action-btn.shortcode:hover {
    background: #fed7aa;
    color: #ea580c;
}

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

/* Metadata */
.dmp-card-metadata {
    margin-bottom: 1rem;
}

.dmp-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.dmp-meta-icon {
    color: #9ca3af;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.dmp-meta-text {
    color: #374151;
    line-height: 1.5;
}

.dmp-meta-text strong {
    font-weight: 600;
    color: #1f2937;
}

.dmp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.dmp-tag {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

/* Card Footer */
.dmp-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.dmp-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #6b7280;
}

.dmp-edit-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.dmp-edit-link:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Shortcode Panel */
.dmp-shortcode-panel {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 1.25rem;
    margin: 0 -1.5rem -1.5rem;
}

.dmp-shortcode-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dmp-shortcode-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dmp-shortcode-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.dmp-shortcode-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.dmp-shortcode-code {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dmp-shortcode-code code {
    flex: 1;
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #374151;
    overflow-x: auto;
    white-space: nowrap;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.dmp-shortcode-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
}

.dmp-shortcode-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: translateY(-1px);
}

.dmp-shortcode-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    border-radius: 8px;
    line-height: 1.5;
}

/* Empty State */
.dmp-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.dmp-empty-icon {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 50%;
    padding: 1.5rem;
    display: inline-flex;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #9ca3af;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dmp-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.dmp-empty-state p {
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Modal/Viewer */
.dmp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.dmp-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 1400px;
    width: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dmp-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.dmp-modal-title {
    flex: 1;
    min-width: 0;
}

.dmp-modal-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.dmp-modal-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.dmp-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dmp-meta-badge {
    background: linear-gradient(135deg, #dbeafe, #d1fae5);
    color: #1e40af;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
}

.dmp-modal-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.dmp-modal-btn {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.dmp-modal-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.dmp-modal-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.dmp-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* PowerPoint Preview */
.dmp-powerpoint-preview {
    height: 100%;
    position: relative;
}

.dmp-preview-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fed7aa 0%, #fecaca 100%);
    padding: 2rem;
}

.dmp-preview-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dmp-preview-icon {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #ea580c;
    padding: 2rem;
    border-radius: 50%;
    display: inline-flex;
    margin-bottom: 2rem;
    font-size: 3rem;
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.3);
}

.dmp-preview-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.dmp-preview-content p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.dmp-preview-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dmp-btn {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.dmp-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dmp-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.dmp-btn-secondary {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.dmp-btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 114, 128, 0.4);
    color: white;
    text-decoration: none;
}

.dmp-btn-tertiary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.dmp-btn-tertiary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

/* Admin Styles */
.dmp-admin-info {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    border-radius: 16px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dmp-admin-info h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.dmp-admin-info h3 {
    color: #374151;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.dmp-admin-info ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.dmp-admin-info li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.dmp-admin-info code {
    background: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: #374151;
}

.dmp-admin-info p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dmp-documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    }
    
    .dmp-search-field.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dmp-nav-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .dmp-search-grid {
        grid-template-columns: 1fr;
    }
    
    .dmp-documents-grid {
        grid-template-columns: 1fr !important;
    }
    
    .dmp-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dmp-card-actions {
        opacity: 1;
        align-self: flex-end;
    }
    
    .dmp-modal {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
    
    .dmp-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .dmp-modal-actions {
        align-self: flex-end;
        margin-left: 0;
    }
    
    .dmp-features {
        grid-template-columns: 1fr;
    }
    
    .dmp-upload-header h1 {
        font-size: 2.25rem;
    }
    
    .dmp-upload-header p {
        font-size: 1rem;
    }
    
    .dmp-preview-actions {
        flex-direction: column;
    }
    
    .dmp-shortcode-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dmp-shortcode-wrapper code {
        margin-bottom: 0.5rem;
    }
    
    .dmp-grid-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .dmp-drop-zone {
        padding: 2rem 1rem;
    }
    
    .dmp-upload-header h1 {
        font-size: 2rem;
    }
    
    .dmp-preview-content {
        padding: 2rem;
    }
    
    .dmp-shortcode-options {
        gap: 0.75rem;
    }
    
    .dmp-shortcode-item {
        padding: 0.75rem;
    }
    
    .dmp-modal-header {
        padding: 1rem;
    }
    
    .dmp-card-content {
        padding: 1rem;
    }
    
    .dmp-notification {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Print Styles */
@media print {
    .dmp-nav,
    .dmp-modal-overlay,
    .dmp-card-actions,
    .dmp-shortcode-panel {
        display: none !important;
    }
    
    .dmp-document-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}