body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.profile-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    width: 400px;
    border: 1px solid #333;
}

h1 {
    margin-bottom: 5px;
    font-size: 24px;
}

.subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.info-group {
    margin-bottom: 20px;
}

.info-group label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}

.value-box {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px 12px;
    justify-content: space-between;
}

.value-box span {
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.btn, .copy-btn, .toggle-pwd-btn {
    background: #333;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.copy-btn:hover, .toggle-pwd-btn:hover, .btn:hover {
    background: #444;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.secondary-btn {
    flex: 1;
    background: #444;
    padding: 10px;
    font-size: 14px;
}

.danger-btn {
    flex: 1;
    background: #a91e1e;
    padding: 10px;
    font-size: 14px;
}

.danger-btn:hover {
    background: #c92a2a;
}

.feedback-msg {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
    color: #4CAF50;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.profile-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    width: 400px;
    border: 1px solid #333;
}

h1 {
    margin-bottom: 5px;
    font-size: 24px;
}

.subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
}

.info-group {
    margin-bottom: 20px;
}

.info-group label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 5px;
}

.value-box {
    display: flex;
    align-items: center;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px 12px;
    justify-content: space-between;
}

.value-box span {
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.btn, .copy-btn, .toggle-pwd-btn {
    background: #333;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}

.copy-btn:hover, .toggle-pwd-btn:hover, .btn:hover {
    background: #444;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.secondary-btn {
    flex: 1;
    background: #444;
    padding: 10px;
    font-size: 14px;
}

.danger-btn {
    flex: 1;
    background: #a91e1e;
    padding: 10px;
    font-size: 14px;
}

.danger-btn:hover {
    background: #c92a2a;
}

/* Modal / Pop-up Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-card {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    width: 350px;
    border: 1px solid #444;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
    text-align: center;
}

.modal-card h2 {
    margin-top: 0;
    font-size: 20px;
}

.modal-card p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 20px;
}

.modal-input {
    width: 100%;
    padding: 10px;
    background: #2a2a2a;
    border: 1px solid #555;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

/* Container für die ID (wird im JS für Privatkonten ausgeblendet) */
#idContainer {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

/* Beschriftung der ID */
#idContainer .id-label {
    color: #a5b4fc;
    font-weight: 500;
}

/* Der eigentliche ID-Wert (Unternehmens-ID) */
#companyIdDisplay, #idDisplay {
    font-family: monospace;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 10px;
    border-radius: 6px;
    color: #38bdf8;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Entfernt den äußeren Kasten komplett, damit es exakt wie Benutzername/Passwort aussieht */
#idContainer {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 15px !important;
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 480px) {
    .profile-card {
        width: 90%;
        padding: 20px;
        box-sizing: border-box;
    }

    .modal-card {
        width: 90%;
        padding: 20px;
        box-sizing: border-box;
    }

    .value-box {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .value-box span {
        text-align: center;
        word-break: break-all;
    }

    .action-buttons {
        flex-direction: column;
    }

    .modal-buttons {
        flex-direction: column;
    }
}