body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #5865F2; /* Kolor Discord */
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

#discordUserId {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

#checkButton {
    padding: 10px 15px;
    background-color: #5865F2;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#checkButton:hover {
    background-color: #4752C4;
}

.user-info-card {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: left;
    overflow: hidden; 
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.user-info-card img.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #5865F2;
    display: block;
}

.avatar-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.user-text-info {
    overflow: hidden; 
}

.user-info-card img.banner {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}
.user-info-card .banner[style*="background-color"] {
    width: 100%;
    height: 100px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.user-info-card p {
    margin: 6px 0; 
    line-height: 1.5;
}

.user-info-card strong {
    color: #4F5660;
}

.user-info-card .username-discriminator {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
    word-break: break-all;
}

.user-info-card .global-name-display {
    font-size: 0.9em;
    color: #555;
    margin-top: -2px;
    margin-bottom: 8px;
}

.user-info-card .flags {
    margin-top: 5px;
}

.user-info-card .flags span {
    display: inline-block;
    background-color: #e0e0e0;
    color: #555;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-right: 5px;
    margin-bottom: 5px;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin: 15px 0;
    border: 1px solid #ef9a9a;
    word-wrap: break-word;
}

#loading {
    margin: 20px 0;
    font-style: italic;
    color: #777;
}

/* Style dla sekcji informacji o serwerach */
.server-info-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.server-info-section h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #5865F2; /* Kolor Discord */
    font-size: 1.1em;
}

.server-info-details p {
    margin: 5px 0;
    font-size: 0.9em;
}

.server-info-details .status-ok {
    color: green;
}

.server-info-details .status-banned {
    color: red;
    font-weight: bold;
}
.server-info-details .status-not-member {
    color: orange;
}
.server-info-details .status-error {
    color: #c62828; 
    font-style: italic;
}

.server-info-details .reason {
    font-style: italic;
    color: #555;
    margin-left: 15px;
}