/* Aktionsmanager Notizzettel Styles */
#aktionsmanager-note {
    position: fixed;
    z-index: 9999;
    padding: 15px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 300px;
    font-family: Arial, sans-serif;
    transition: transform 0.3s ease-in-out;
    background: #fff8b3;
}

/* Positionen */
#aktionsmanager-note.am-pos-unten-links { 
    bottom: 20px; 
    left: 20px; 
}
#aktionsmanager-note.am-pos-unten-mitte { 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
}
#aktionsmanager-note.am-pos-unten-rechts { 
    bottom: 20px; 
    right: 20px; 
}
#aktionsmanager-note.am-pos-mitte-links { 
    top: 50%; 
    left: 20px; 
    transform: translateY(-50%); 
}
#aktionsmanager-note.am-pos-mitte-rechts { 
    top: 50%; 
    right: 20px; 
    transform: translateY(-50%); 
}
#aktionsmanager-note.am-pos-oben-links { 
    top: 20px; 
    left: 20px; 
}
#aktionsmanager-note.am-pos-oben-mitte { 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
}
#aktionsmanager-note.am-pos-oben-rechts { 
    top: 20px; 
    right: 20px; 
}

/* Menü-Position: Basis-Styles (können durch Custom CSS überschrieben werden) */
#aktionsmanager-note.am-pos-menü {
    position: fixed;
    top: 0;
    right: 0;
    height: 14px;
    padding: 0 8px;
    line-height: 14px;
    font-size: 11px;
    z-index: 9999;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
    width: auto;
    min-width: 100px;
    transition: none;
    background: #fff8b3;
    color: #333;
}

.am-menu-link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-menu-link:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* Slide-Out Animationen */
#aktionsmanager-note.am-slide-out-left {
    transform: translateX(calc(-100% + 20px));
}
#aktionsmanager-note.am-pos-unten-mitte.am-slide-out-left {
    transform: translateX(calc(-50% - 100% + 20px));
}
#aktionsmanager-note.am-slide-out-right {
    transform: translateX(calc(100% - 20px));
}
#aktionsmanager-note.am-pos-unten-mitte.am-slide-out-right {
    transform: translateX(calc(-50% + 100% - 20px));
}
#aktionsmanager-note.am-slide-out-up {
    transform: translateY(calc(-100% + 20px));
}
#aktionsmanager-note.am-pos-mitte-links.am-slide-out-up {
    transform: translateY(calc(-50% - 100% + 20px));
}
#aktionsmanager-note.am-pos-mitte-rechts.am-slide-out-up {
    transform: translateY(calc(-50% - 100% + 20px));
}
#aktionsmanager-note.am-slide-out-down {
    transform: translateY(calc(100% - 20px));
}
#aktionsmanager-note.am-pos-mitte-links.am-slide-out-down {
    transform: translateY(calc(-50% + 100% - 20px));
}
#aktionsmanager-note.am-pos-mitte-rechts.am-slide-out-down {
    transform: translateY(calc(-50% + 100% - 20px));
}

/* Sichtbarer Streifen beim Slide-Out */
#aktionsmanager-note.am-slide-out-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: inherit;
    cursor: pointer;
}
#aktionsmanager-note.am-slide-out-right::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: inherit;
    cursor: pointer;
}
#aktionsmanager-note.am-slide-out-up::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20px;
    background: inherit;
    cursor: pointer;
}
#aktionsmanager-note.am-slide-out-down::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 20px;
    background: inherit;
    cursor: pointer;
}

.am-close {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.am-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.am-desc {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.am-btn {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.am-btn:hover {
    background: #005a87;
    color: white;
}

/* Formular Styles */
.aktionsmanager-form-container {
    width: 100%;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #f9f9f9;
}

.aktionsmanager-form h3 {
    /* margin-top: 0; */
    /* color: #333; */
    /* border-bottom: 2px solid #0073aa; */
    /* padding-bottom: 10px; */
}

.form-description {
    margin-bottom: 20px;
    padding: 10px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.aktionsmanager-submit {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.aktionsmanager-submit:hover {
    background: #005a87;
}

.aktionsmanager-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border: 1px solid #c3e6cb;
    border-radius: 0;
    margin-bottom: 20px;
}

.aktionsmanager-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border: 1px solid #f5c6cb;
    border-radius: 0;
    margin-bottom: 20px;
}