/* landing.css - CSS für die Verwaltungsanwendung */

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.container { 
    background: white; 
    border-radius: 20px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    overflow: hidden; 
    width: 100%; 
    max-width: 1200px; 
    min-height: 600px; 
}

.login-container, .register-container, .admin-container { 
    padding: 60px; 
    text-align: center; 
    max-width: 400px; 
    margin: 0 auto; 
    display: none; 
}

.admin-container { 
    max-width: 800px; 
    text-align: left; 
}

.management-container { 
    padding: 40px; 
    display: none; 
}

h1 { 
    color: #333; 
    margin-bottom: 30px; 
    font-size: 2.5em; 
    font-weight: 300; 
}

.title-subscript { 
    font-size: 0.7em; 
    vertical-align: sub; 
    position: relative; 
    top: 0.2em; 
}

.form-group { 
    margin-bottom: 25px; 
    text-align: left; 
}

label { 
    display: block; 
    margin-bottom: 8px; 
    color: #555; 
    font-weight: 500; 
}

input, select { 
    width: 100%; 
    padding: 15px; 
    border: 2px solid #e1e5e9; 
    border-radius: 10px; 
    font-size: 16px; 
    transition: all 0.3s ease; 
    background: #f8f9fa; 
}

input:focus, select:focus { 
    outline: none; 
    border-color: #667eea; 
    background: white; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2); 
}

.captcha-container { 
    background: #f8f9fa; 
    border: 2px solid #e1e5e9; 
    border-radius: 10px; 
    padding: 20px; 
    margin: 20px 0; 
    text-align: center; 
}

.captcha-challenge { 
    font-size: 24px; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 10px; 
}

.captcha-input { 
    width: 100px; 
    text-align: center; 
    margin: 10px auto; 
}

.btn { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    padding: 15px 30px; 
    border: none; 
    border-radius: 10px; 
    font-size: 16px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    width: 100%; 
    margin-top: 20px; 
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); 
}

.btn:active { 
    transform: translateY(0); 
}

.error { 
    color: #e74c3c; 
    margin-top: 10px; 
    padding: 10px; 
    background: #fdf2f2; 
    border-radius: 5px; 
    border-left: 4px solid #e74c3c; 
}

.success { 
    color: #27ae60; 
    margin-top: 10px; 
    padding: 10px; 
    background: #f0fff4; 
    border-radius: 5px; 
    border-left: 4px solid #27ae60; 
}

.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    padding-bottom: 20px; 
    border-bottom: 2px solid #e1e5e9; 
}

.header h2 { 
    color: #333; 
    font-size: 2em; 
}

.logout-btn { 
    background: #e74c3c; 
    padding: 10px 20px; 
    font-size: 14px; 
    width: auto; 
}

.form-row { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 20px; 
}

.btn-group { 
    display: flex; 
    gap: 10px; 
    margin: 20px 0; 
}

.btn-secondary { 
    background: #6c757d; 
}

.btn-success { 
    background: #28a745; 
}

.btn-warning { 
    background: #ffc107; 
    color: #333; 
}

.btn-danger { 
    background: #dc3545; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
    background: white; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

th, td { 
    padding: 15px; 
    text-align: left; 
    border-bottom: 1px solid #e1e5e9; 
}

th { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    font-weight: 500; 
}

tr:hover { 
    background: #f8f9fa; 
}

.search-container { 
    margin-bottom: 20px; 
}

.search-input { 
    width: 300px; 
    display: inline-block; 
    margin-right: 10px; 
}

.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
}

.modal-content { 
    background-color: white; 
    margin: 5% auto; 
    padding: 40px; 
    border-radius: 20px; 
    width: 80%; 
    max-width: 600px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}

.close { 
    color: #aaa; 
    float: right; 
    font-size: 28px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: -20px; 
}

.close:hover { 
    color: #333; 
}

.history-item { 
    padding: 10px; 
    margin: 5px 0; 
    background: #f8f9fa; 
    border-left: 4px solid #667eea; 
    border-radius: 5px; 
}

.domain-item { 
    background: #f8f9fa; 
    border: 1px solid #e1e5e9; 
    border-radius: 10px; 
    padding: 15px; 
    margin: 10px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.domain-info { 
    flex: 1; 
}

.domain-actions { 
    display: flex; 
    gap: 10px; 
}

.email-item { 
    background: #e8f5e8; 
    border: 1px solid #4caf50; 
    border-radius: 10px; 
    padding: 15px; 
    margin: 10px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.email-info { 
    flex: 1; 
}

.email-actions { 
    display: flex; 
    gap: 10px; 
}

.info-box { 
    background: #e3f2fd; 
    border: 1px solid #2196f3; 
    border-radius: 10px; 
    padding: 15px; 
    margin: 15px 0; 
    color: #1976d2; 
}

.tab-navigation { 
    margin-bottom: 30px; 
    border-bottom: 2px solid #e1e5e9; 
}

.tab-button { 
    background: #f8f9fa; 
    border: 1px solid #e1e5e9; 
    padding: 10px 20px; 
    margin-right: 10px; 
    margin-bottom: -2px; 
    border-radius: 10px 10px 0 0; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    font-size: 16px; 
}

.tab-button.active { 
    background: #667eea; 
    color: white; 
    border-color: #667eea; 
}

.tab-content { 
    display: none; 
}

.tab-content.active { 
    display: block; 
}

.user-status { 
    padding: 5px 10px; 
    border-radius: 5px; 
    font-size: 12px; 
    font-weight: bold; 
}

.status-domain { 
    background: #e3f2fd; 
    color: #1976d2; 
}

.status-whitelist { 
    background: #e8f5e8; 
    color: #2e7d32; 
}

.status-inactive { 
    background: #ffebee; 
    color: #c62828; 
}

.verify-info { 
    background: #fff3e0; 
    border: 1px solid #ff9800; 
    border-radius: 10px; 
    padding: 10px; 
    margin: 10px 0; 
    color: #e65100; 
    font-size: 14px; 
}

.key-entry { 
    background: #f8f9fa; 
    border: 1px solid #e1e5e9; 
    border-radius: 10px; 
    padding: 15px; 
    margin: 10px 0; 
}

.add-entry-btn { 
    background: #4caf50; 
    padding: 8px 16px; 
    font-size: 14px; 
    width: auto; 
    margin-top: 10px; 
}

.remove-entry-btn { 
    background: #f44336; 
    padding: 5px 10px; 
    font-size: 12px; 
    width: auto; 
}

.designation-group { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    margin-bottom: 10px; 
}

.add-designation-btn { 
    background: #4caf50; 
    padding: 5px 10px; 
    font-size: 20px; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
}

.designation-wrapper { 
    flex: 1; 
}

.verify-container { 
    background: #f0f4ff; 
    border: 2px solid #667eea; 
    border-radius: 10px; 
    padding: 20px; 
    margin: 20px 0; 
    text-align: center; 
}

.verify-input { 
    width: 150px; 
    text-align: center; 
    margin: 10px auto; 
    font-size: 20px; 
    letter-spacing: 5px; 
}