/* Global Styles */
:root {
    --background-color: #121212;
    --primary-color: #61dafb;
    --secondary-color: #282c34;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #444;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --hover-brightness: 1.2;
}

body {
    font-family: 'Courier New', Courier, monospace;
    font-size: large;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header and Footer */
header,
footer {
    background-color: var(--secondary-color);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

/* Main Sections */
#features,
.userlist {
    padding: 20px;
    flex: 1;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Cards and Features */
.feature,
.feature-outlined,
.small-feature {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.2s ease-in-out;
    margin: 1%;
    flex-grow: 10;
}

.feature-outlined {
    border: 2px solid var(--primary-color);
    flex-grow: 9;
    transform: scale(1.03);
}

.feature:hover,
.small-feature:hover {
    transform: scale(1.01);
}

.feature-outlined:hover {
    transform: scale(1.05);
}

/* Buttons */
button,
.standard-button,
.small-standard-button,
#interested-button,
#refresh-button,
#search-button,
#modal-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
    margin: 0.1%;
}

.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-content {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    animation: SlideIn 0.3s ease-out;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.fade-out {
    animation: FadeOut 0.3s ease-out;
}

button:hover,
.standard-button:hover,
.small-standard-button:hover {
    filter: brightness(var(--hover-brightness));
    transform: scale(1.05);
    outline: auto;
}

.danger-button,
.small-danger-button {
    background-color: var(--danger-color);
    color: var(--text-color);
}

.danger-button:hover,
.small-danger-button:hover {
    filter: brightness(var(--hover-brightness));
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    box-shadow: 0px 0px 0px;
    width: 15px;
    height: 20px;
    filter: invert(100%);
}

/* Inputs */
input,
.name-input,
#search-input {
    padding: 10px;
    background-color: #1e1e1e;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    margin: 1%;
}

input:focus,
.name-input:focus,
#search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(97, 218, 251, 0.4);
}

/* Status Badges */
.status-badge {
    justify-content: space-between;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5%;
    font-size: 0.9em;
    font-weight: bold;
}

.status-badge.developer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.status-badge.hunter {
    background-color: #ffe500;
    color: #282c34;
}

.status-badge.ghost {
    background-color: #00fbff;
    color: #282c34;
}

.status-badge.user {
    background-color: #666;
    color: var(--text-color);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #444;
    margin-bottom: 10px;
}

.badge-container {
    display: flex;
    align-items: center;
}

.standard-checkbox {
    width: 30px;
    height: 30px;
    appearance: none;
    background-color: #333;
    border: 2px solid #61dafb;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 20px;
    vertical-align: middle;
    transition: background-color 0.3s, border-color 0.3s;
}

.standard-checkbox:checked {
    background-color: #61dafb;
    border-color: #21a1f1;
}

.standard-checkbox:checked::after {
    color: #282c34;
    font-size: 1.2em;
    top: 0;
    left: 4px;
}

.standard-checkbox:hover {
    border-color: #21a1f1;
}

.profile-card {
    max-width: 600px;
    margin: 20px auto !important;
    border: 1px solid #444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes SlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes FadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media screen and (max-width: 480px) {
    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    button,
    .standard-button,
    .small-standard-button,
    #interested-button,
    #refresh-button,
    #search-button,
    #modal-button {
        transform: scale(0.8);
    }

    button:hover,
    .standard-button:hover,
    .small-standard-button:hover {
        filter: brightness(var(--hover-brightness));
        transform: scale(0.9);
        outline: auto;
    }

    .input-row {
        flex-direction: column;
        gap: 10px;
    }
}