/* 
 * OAuth2 Authentication Server - OAuth2 Specific Styles
 * Specialized styles for OAuth2 views and components
 */

/* Main Navigation Styles */
.main-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 60px;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-link.logout {
    color: white;
    background: rgba(220, 38, 38, 0.8);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
}

.nav-link.logout:hover {
    background: rgba(220, 38, 38, 1);
    color: white;
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.nav-user {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Welcome/Home Page Styles */
.welcome-page {
    background: #f8fafc;
}

.welcome-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    margin: -20px -20px 40px -20px;
    border-radius: 12px;
}

.welcome-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.welcome-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.welcome-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 3rem 0;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.stat-description {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Features Section */
.features-section {
    margin: 3rem 0;
}

.features-section h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

/* Quick Actions Section */
.quick-actions {
    margin: 3rem 0;
}

.quick-actions h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.action-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.action-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Login/Register Forms */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px 0;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #64748b;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 20px;
    color: #64748b;
    font-size: 14px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

/* Dashboard Styles */
.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    margin: -30px -30px 40px -30px;
}

.dashboard-header h1 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.dashboard-header p {
    color: #64748b;
    font-size: 1.125rem;
}

.dashboard-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

.nav-link {
    padding: 12px 20px;
    background: #ffffff;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    text-decoration: none;
}

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

/* User Info */
.user-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.user-info .info-item:last-child {
    border-bottom: none;
}

.user-info label {
    font-weight: 600;
    color: #374151;
}

.user-info span {
    color: #64748b;
}

/* Statistics Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Application Lists */
.apps-list .app-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.apps-list .app-item:last-child {
    border-bottom: none;
}

.app-info h4 {
    margin: 0 0 8px 0;
    color: #1e293b;
    font-size: 1.125rem;
}

.app-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

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

/* Activity Lists */
.activity-list .activity-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.activity-list .activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-action {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #64748b;
}

/* SSO Status Page */
.sso-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sso-title {
    color: #1e293b;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.sso-status {
    text-align: center;
    padding: 30px;
    margin: 30px 0;
    border-radius: 12px;
    border: 2px solid;
}

.logged-in {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #28a745;
    color: #155724;
}

.logged-out {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-color: #dc3545;
    color: #721c24;
}

.sso-status h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.app-list {
    margin-top: 30px;
}

.app-item {
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.app-item strong {
    display: block;
    color: #1e293b;
    font-size: 1.125rem;
    margin-bottom: 5px;
}

/* Profile Page */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.profile-title {
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.profile-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.profile-field {
    margin-bottom: 20px;
}

.profile-field:last-child {
    margin-bottom: 0;
}

.profile-field label {
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-field .value {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 500;
}

.profile-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* OAuth2 Authorization */
.oauth-auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 0;
}

.oauth-auth-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

.app-info-section {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.app-icon {
    width: 64px;
    height: 64px;
    background: #3b82f6;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.permissions-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.permissions-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.permissions-list li:last-child {
    border-bottom: none;
}

.permission-icon {
    color: #10b981;
    font-size: 16px;
}

.oauth-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: calc(100vh - 160px); /* Account for nav and footer */
}

/* Footer Styles */
.main-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    padding: 2rem 0;
    width: 100%;
    clear: both;
}

.main-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.main-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.main-footer .footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.main-footer .footer-links a:hover {
    color: #3b82f6;
}

.main-footer .footer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.main-footer .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.main-footer .footer-info {
    color: #94a3b8;
    font-size: 0.8rem;
}

.main-footer .footer-info p {
    margin: 0;
}

/* Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Back Navigation */
.back-nav {
    margin-bottom: 2rem;
}

.back-link {
    color: #3b82f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    background: rgba(59, 130, 246, 0.1);
}

.back-link:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(-2px);
}

/* Security Notice */
.security-notice {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.notice-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.notice-text h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Endpoints Section */
.endpoints-section {
    background: #f8fafc;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.endpoints-section h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.endpoints-section > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.endpoints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.endpoint-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.endpoint-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.endpoint-name {
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    font-size: 1.1rem;
}

.endpoint-url {
    background: #f1f5f9;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.endpoint-url code {
    color: #0f172a;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    word-break: break-all;
}

.endpoints-note {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.endpoints-note strong {
    color: #3b82f6;
}

.endpoints-note a {
    color: #3b82f6;
    text-decoration: none;
}

.endpoints-note a:hover {
    text-decoration: underline;
}

/* Applications and Privacy Views Specific Styles */

/* Search Bar */
.search-bar {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: #64748b;
}

.filter-tab:hover {
    background: #e2e8f0;
}

.filter-tab.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Application Details/Cards */
.app-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.app-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.app-title {
    flex: 1;
}

.app-name {
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
}

.app-org {
    color: #64748b;
    font-size: 0.9rem;
}

.app-description {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.app-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.meta-value {
    color: #374151;
    font-weight: 600;
}

.app-scopes {
    margin-bottom: 1.5rem;
}

.scope-label {
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.scope-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.scope-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.app-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .btn {
    margin-top: 1rem;
}

/* GDPR Information Section */
.gdpr-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

.gdpr-info::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    z-index: -1;
}

.gdpr-info h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gdpr-info p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gdpr-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.gdpr-info li {
    color: #374151;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.gdpr-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.gdpr-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.gdpr-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Privacy Form Specific Updates */
.consent-history {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.consent-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.consent-entry:last-child {
    border-bottom: none;
}

.consent-date {
    color: #64748b;
    font-size: 0.9rem;
    font-family: monospace;
}

.consent-action {
    color: #374151;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

/* Base Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    vertical-align: middle;
    user-select: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-danger {
    background: #dc2626;
    color: white;
    border: 2px solid transparent;
}

.btn-danger:hover {
    background: #b91c1c;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-success {
    background: #059669;
    color: white;
    border: 2px solid transparent;
}

.btn-success:hover {
    background: #047857;
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Button Outline Variants */
.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-outline.btn-danger {
    border-color: #dc2626;
}

.btn-outline.btn-danger:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-outline.btn-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline.btn-secondary:hover {
    background: #6c757d;
    color: white;
}

.btn-outline.btn-success {
    color: #059669;
    border-color: #059669;
}

.btn-outline.btn-success:hover {
    background: #059669;
    color: white;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Button Block */
.btn-block {
    display: block;
    width: 100%;
}

/* Search and Filter Improvements */
.search-bar {
    margin-bottom: 1.5rem;
}

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

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #64748b;
}

.filter-tab:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Improved Responsive Design */
@media (max-width: 768px) {
    .gdpr-info {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .gdpr-actions {
        flex-direction: column;
    }
    
    .app-meta {
        gap: 1rem;
    }
    
    .meta-item {
        flex: 1;
        min-width: 120px;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .consent-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Technical Specifications Section */
.tech-specs-section {
    margin: 3rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
}

.tech-specs-section h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.spec-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card li {
    color: #475569;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.spec-card li:last-child {
    border-bottom: none;
}

.spec-card li:hover {
    color: #1e293b;
    background: #f8fafc;
    padding-left: 0.5rem;
    transition: all 0.2s ease;
}

/* Responsive Design for Tech Specs */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-specs-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
}
