.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .modal-content {
        margin: 15% auto;
        padding: 30px;
        width: 400px;
        max-width: 400px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .modal-content {
        margin: 10% auto;
        padding: 40px;
        width: 500px;
        max-width: 500px;
    }
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.auth-form button {
    padding: 14px;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.1s;
}

.auth-form button:hover {
    background-color: #1557b0;
}

.auth-form button:active {
    transform: scale(0.98);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .auth-form input {
        padding: 14px 16px;
    }
    
    .auth-form button {
        padding: 16px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .auth-form input {
        padding: 16px 18px;
    }
    
    .auth-form button {
        padding: 18px;
    }
}

.auth-toggle {
    text-align: center;
    margin-top: 10px;
}

.auth-toggle a {
    color: #1a73e8;
    text-decoration: none;
    cursor: pointer;
}

/* KingsClash Logo Styles für Auth-Seiten */
.auth-form .kingsclash-logo {
    font-family: 'Times New Roman', serif;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.auth-form .kingsclash-text {
    font-size: 28px !important;
    color: #333;
    line-height: 1;
    margin: 0;
}

.auth-form .kingsclash-logo .dot-net {
    color: #4FC3F7;
    font-weight: 600;
    font-size: 24px;
    margin: 0;
    text-align: right;
    width: 100%;
    padding-right: 12px;
}

/* Mobile Anpassungen für das Logo */
@media (max-width: 767px) {
    .auth-form .kingsclash-text {
        font-size: 24px !important;
    }
    
    .auth-form .kingsclash-logo .dot-net {
        font-size: 20px;
        padding-right: 8px;
    }
}

/* Benutzerkreis Styles */
.user-circle {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-circle:hover {
    transform: scale(1.1);
}

.user-dropdown {
    position: fixed;
    top: 70px;
    right: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: none;
    z-index: 1000;
    min-width: 200px;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .user-circle {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .user-dropdown {
        top: 80px;
        right: 20px;
        padding: 20px;
        min-width: 250px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .user-circle {
        width: 55px;
        height: 55px;
    }
    
    .user-dropdown {
        min-width: 300px;
    }
}

.user-dropdown.show {
    display: block;
}

.user-dropdown button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    color: #333;
    transition: background-color 0.2s;
}

.user-dropdown button:hover {
    background-color: #f5f5f5;
}

.user-dropdown .logout {
    color: #dc3545;
}

.hidden {
    display: none;
} 

.friend-request-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.notification-buttons button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.notification-buttons button:first-child {
    background-color: #4CAF50;
    color: white;
}

.notification-buttons button:last-child {
    background-color: #f44336;
    color: white;
}

.notification-buttons button:hover {
    opacity: 0.9;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Freundschaftsanfragen Styles */
.friend-request-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.friend-request-badge.hidden {
    display: none;
}

.friend-requests {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.friend-requests:hover {
    background-color: #f5f5f5;
}

.friend-requests i {
    color: #3498db;
}

.friend-request-count {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.friend-request-count.hidden {
    display: none;
}

.friend-requests-list {
    max-height: 400px;
    overflow-y: auto;
}

.friend-request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.friend-request-item:last-child {
    border-bottom: none;
}

.friend-request-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.friend-request-avatar {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

.friend-request-actions button {
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.friend-request-actions button.accept {
    background-color: #2ecc71;
    color: white;
}

.friend-request-actions button.reject {
    background-color: #e74c3c;
    color: white;
}

.friend-request-actions button:hover {
    opacity: 0.9;
} 