220 lines
		
	
	
	
		
			4.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			220 lines
		
	
	
	
		
			4.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
* {
 | 
						|
    margin: 0;
 | 
						|
    padding: 0;
 | 
						|
    box-sizing: border-box;
 | 
						|
}
 | 
						|
 | 
						|
body {
 | 
						|
    font-family: 'Arial', sans-serif;
 | 
						|
    background: transparent;
 | 
						|
    overflow: hidden;
 | 
						|
}
 | 
						|
 | 
						|
.hidden {
 | 
						|
    display: none !important;
 | 
						|
}
 | 
						|
 | 
						|
#license-container {
 | 
						|
    position: fixed;
 | 
						|
    top: 0;
 | 
						|
    left: 0;
 | 
						|
    width: 100vw;
 | 
						|
    height: 100vh;
 | 
						|
    background: rgba(0, 0, 0, 0.8);
 | 
						|
    display: flex;
 | 
						|
    justify-content: center;
 | 
						|
    align-items: center;
 | 
						|
    z-index: 1000;
 | 
						|
}
 | 
						|
 | 
						|
.license-card {
 | 
						|
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 | 
						|
    border-radius: 15px;
 | 
						|
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
 | 
						|
    width: 450px;
 | 
						|
    min-height: 300px;
 | 
						|
    color: white;
 | 
						|
    position: relative;
 | 
						|
    overflow: hidden;
 | 
						|
}
 | 
						|
 | 
						|
.license-card::before {
 | 
						|
    content: '';
 | 
						|
    position: absolute;
 | 
						|
    top: 0;
 | 
						|
    left: 0;
 | 
						|
    right: 0;
 | 
						|
    bottom: 0;
 | 
						|
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
 | 
						|
    opacity: 0.3;
 | 
						|
    pointer-events: none;
 | 
						|
}
 | 
						|
 | 
						|
.license-header {
 | 
						|
    display: flex;
 | 
						|
    justify-content: space-between;
 | 
						|
    align-items: center;
 | 
						|
    padding: 20px;
 | 
						|
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
 | 
						|
}
 | 
						|
 | 
						|
.license-title {
 | 
						|
    font-size: 24px;
 | 
						|
    font-weight: bold;
 | 
						|
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 | 
						|
}
 | 
						|
 | 
						|
.license-logo {
 | 
						|
    font-size: 32px;
 | 
						|
    opacity: 0.8;
 | 
						|
}
 | 
						|
 | 
						|
.license-content {
 | 
						|
    display: flex;
 | 
						|
    padding: 20px;
 | 
						|
    gap: 20px;
 | 
						|
}
 | 
						|
 | 
						|
.license-photo {
 | 
						|
    width: 100px;
 | 
						|
    height: 120px;
 | 
						|
    background: rgba(255, 255, 255, 0.2);
 | 
						|
    border-radius: 8px;
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    justify-content: center;
 | 
						|
    font-size: 48px;
 | 
						|
    color: rgba(255, 255, 255, 0.7);
 | 
						|
    flex-shrink: 0;
 | 
						|
}
 | 
						|
 | 
						|
.license-info {
 | 
						|
    flex: 1;
 | 
						|
}
 | 
						|
 | 
						|
.info-row {
 | 
						|
    display: flex;
 | 
						|
    justify-content: space-between;
 | 
						|
    margin-bottom: 12px;
 | 
						|
    padding: 8px 0;
 | 
						|
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 | 
						|
}
 | 
						|
 | 
						|
.info-row:last-child {
 | 
						|
    border-bottom: none;
 | 
						|
    margin-bottom: 0;
 | 
						|
}
 | 
						|
 | 
						|
.label {
 | 
						|
    font-weight: bold;
 | 
						|
    opacity: 0.9;
 | 
						|
    min-width: 100px;
 | 
						|
}
 | 
						|
 | 
						|
.value {
 | 
						|
    text-align: right;
 | 
						|
    opacity: 0.8;
 | 
						|
}
 | 
						|
 | 
						|
.license-footer {
 | 
						|
    padding: 20px;
 | 
						|
    border-top: 2px solid rgba(255, 255, 255, 0.2);
 | 
						|
    display: flex;
 | 
						|
    justify-content: space-between;
 | 
						|
    align-items: center;
 | 
						|
}
 | 
						|
 | 
						|
.license-status {
 | 
						|
    font-weight: bold;
 | 
						|
    padding: 5px 15px;
 | 
						|
    border-radius: 20px;
 | 
						|
    font-size: 14px;
 | 
						|
}
 | 
						|
 | 
						|
.license-status.active {
 | 
						|
    background: rgba(76, 175, 80, 0.3);
 | 
						|
    color: #4CAF50;
 | 
						|
    border: 1px solid #4CAF50;
 | 
						|
}
 | 
						|
 | 
						|
.license-status.inactive {
 | 
						|
    background: rgba(244, 67, 54, 0.3);
 | 
						|
    color: #F44336;
 | 
						|
    border: 1px solid #F44336;
 | 
						|
}
 | 
						|
 | 
						|
.close-btn {
 | 
						|
    background: rgba(255, 255, 255, 0.2);
 | 
						|
    border: 1px solid rgba(255, 255, 255, 0.3);
 | 
						|
    color: white;
 | 
						|
    padding: 10px 20px;
 | 
						|
    border-radius: 25px;
 | 
						|
    cursor: pointer;
 | 
						|
    transition: all 0.3s ease;
 | 
						|
    font-size: 14px;
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    gap: 8px;
 | 
						|
}
 | 
						|
 | 
						|
.close-btn:hover {
 | 
						|
    background: rgba(255, 255, 255, 0.3);
 | 
						|
    transform: translateY(-2px);
 | 
						|
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 | 
						|
}
 | 
						|
 | 
						|
/* Spezielle Styles für verschiedene Lizenztypen */
 | 
						|
.license-card.id_card {
 | 
						|
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 | 
						|
}
 | 
						|
 | 
						|
.license-card.drivers_license {
 | 
						|
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
 | 
						|
}
 | 
						|
 | 
						|
.license-card.weapon_license {
 | 
						|
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
 | 
						|
}
 | 
						|
 | 
						|
.license-card.passport {
 | 
						|
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
 | 
						|
}
 | 
						|
 | 
						|
.license-card.business_license {
 | 
						|
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
 | 
						|
}
 | 
						|
 | 
						|
/* Responsive Design */
 | 
						|
@media (max-width: 500px) {
 | 
						|
    .license-card {
 | 
						|
        width: 90vw;
 | 
						|
        margin: 20px;
 | 
						|
    }
 | 
						|
    
 | 
						|
    .license-content {
 | 
						|
        flex-direction: column;
 | 
						|
        align-items: center;
 | 
						|
    }
 | 
						|
    
 | 
						|
    .license-photo {
 | 
						|
        width: 80px;
 | 
						|
        height: 100px;
 | 
						|
        font-size: 36px;
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
/* Animation für das Erscheinen */
 | 
						|
@keyframes slideIn {
 | 
						|
    from {
 | 
						|
        opacity: 0;
 | 
						|
        transform: translateY(-50px) scale(0.9);
 | 
						|
    }
 | 
						|
    to {
 | 
						|
        opacity: 1;
 | 
						|
        transform: translateY(0) scale(1);
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
.license-card {
 | 
						|
    animation: slideIn 0.3s ease-out;
 | 
						|
}
 |