:root {
    --lux-primary: #5865F2;
    --lux-primary-hover: #4752C4;
    --lux-bg: #f6f8fa;
    --lux-white: #ffffff;
    --lux-text: #2c3338;
    --lux-gray: #646970;
    --lux-border: #dcdcde;
    --lux-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.luxcord-admin {
    max-width: 1000px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Top Bar */
.lux-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--lux-white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.lux-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ICON FIX: Ensure SVG doesn't explode */
.luxcord-admin svg.lux-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    color: var(--lux-primary);
    display: block;
}

.lux-logo h1 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--lux-text);
}

.lux-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lux-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lux-gray);
    display: flex;
    align-items: center;
}

.lux-donate {
    font-weight: 600;
    color: var(--lux-primary);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(88, 101, 242, 0.1);
}

.lux-donate:hover {
    background: rgba(88, 101, 242, 0.2);
}

/* Content */
.lux-card {
    background: var(--lux-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--lux-shadow);
}

.lux-field {
    margin-bottom: 20px;
}

.lux-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--lux-text);
}

.lux-field label svg {
    width: 18px;
    height: 18px;
    color: var(--lux-gray);
}

.lux-field input,
.lux-field textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--lux-border);
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fafbfc;
}

.lux-field input:focus,
.lux-field textarea:focus {
    border-color: var(--lux-primary);
    outline: none;
    background: #fff;
}

.lux-field textarea {
    font-family: Consolas, Monaco, monospace;
}

.lux-placeholders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.lux-placeholders span {
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Submit */
.lux-submit {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    border-top: 1px solid #f0f0f1;
    padding-top: 20px;
}

.lux-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.lux-btn.primary {
    background: var(--lux-primary);
    color: white;
}

.lux-btn.primary:hover {
    background: var(--lux-primary-hover);
}

.lux-btn.secondary {
    background: #f0f0f1;
    color: var(--lux-text);
}

.lux-btn.secondary:hover {
    background: #dcdcde;
}

#lstatus {
    margin-top: 10px;
    font-weight: 600;
}

/* Modal Modernization */
.lux-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.lux-modal-content {
    background: #fff;
    margin: 8% auto;
    width: 580px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    animation: modalSlide 0.4s forwards;
}

@keyframes modalSlide {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lux-modal-content header {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lux-modal-content h2 {
    margin: 0;
}

.lux-modal-body {
    padding: 40px;
    max-height: 65vh;
    overflow-y: auto;
    line-height: 1.7;
}

.lux-modal-body h4 {
    margin: 20px 0 10px;
    color: var(--lux-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lux-modal-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
}

.lux-modal-body a {
    color: var(--lux-primary);
    text-decoration: none;
    font-weight: 600;
}

.lux-modal-footer {
    background: #f9f9f9;
    padding: 15px 30px;
    text-align: right;
    border-top: 1px solid #eee;
}

#close-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
}

#close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}