:root {
    --primary: #5865f2;
    --accent-1: #ff4cd2;
    --accent-2: #35ed7e;
    --bg-deep: rebeccapurple;
    --bg-dark: #121212;
    --bg-card: rgba(30, 30, 35, 0.7);
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --border-radius: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(88, 101, 242, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 76, 210, 0.1) 0%, transparent 40%);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none !important;
    opacity: 0;
}

/* Login Screen */
#login-screen {
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1e1e2f 0%, #000 100%);
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 1rem;
}

/* Dashboard */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.1s, opacity 0.2s;
}

button:active {
    transform: scale(0.98);
}

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

.secondary-btn {
    background: var(--accent-1);
    color: white;
}

.icon-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #444;
}

#login-btn {
    background: var(--accent-2);
    color: #000;
    width: 100%;
    padding: 12px;
}

/* Clipboard Styles */
.clipboard-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

textarea#clipboard-content {
    width: 100%;
    height: 100px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    resize: none;
    font-family: monospace;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.btn-group button {
    flex: 1;
}

/* Drag and Drop */
.drop-zone {
    border: 2px dashed #444;
    padding: 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    cursor: pointer;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-2);
    background: rgba(53, 237, 126, 0.05);
}

/* Lists */
.grid-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

ul {
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
}

li {
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

li .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

li a {
    color: var(--accent-2);
    text-decoration: none;
}

@media (max-width: 768px) {
    .grid-cols {
        grid-template-columns: 1fr;
    }
}
