:root {
    --primary-color: #00E676;
    --secondary-color: #2979FF;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --danger-color: #ff5252;
    --success-color: #00E676;
    --warning-color: #FFC107;
    --font-main: 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 800px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: filter 0.3s;
}

/* Login Modal */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s;
}

.login-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.login-card {
    background: rgba(30, 30, 30, 0.9);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 50px rgba(0, 230, 118, 0.2);
}

.blurred {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

/* Rest of styles similar to before... */

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.server-address-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.address-box {
    display: inline-flex;
    align-items: center;
    background: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 1rem 0;
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.address-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 230, 118, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.address-box:hover::before {
    transform: translateX(100%);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0, 230, 118, 0.1);
    color: var(--success-color);
}

section {
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    border-left: 4px solid var(--secondary-color);
    padding-left: 10px;
}

/* List Styles */
.list-group {
    list-style: none;
}

.list-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0.8rem;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.list-item:hover {
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: #252525;
}

.list-item.active {
    border-color: var(--primary-color);
    background: rgba(0, 230, 118, 0.05);
}

.item-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Styles */
.upload-area {
    background: rgba(41, 121, 255, 0.05);
    border: 2px dashed rgba(41, 121, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: var(--secondary-color);
    background: rgba(41, 121, 255, 0.1);
}

input[type="password"],
input[type="file"],
select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

input[type="password"]:focus,
input[type="file"]:focus,
select:focus {
    border-color: var(--secondary-color);
}

select {
    cursor: pointer;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    background: #00b359;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(255, 82, 82, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn-danger:hover {
    background: var(--danger-color);
    color: #fff;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Links */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #63a4ff;
    text-decoration: underline;
}

/* Message Status */
#message,
#addonMessage,
#settingsMessage,
#loginMessage {
    margin-top: 1rem;
    font-weight: 500;
    min-height: 24px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .list-item>div {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}