/* Giuglu - Cyberpunk Theme */
:root {
    --bg: #1a1a24;
    --card: #14141a;
    --border: #2a2a3a;
    --text: #c0c0c0;
    --muted: #00ff9f;
    
    /* Colors */
    --green: #00ff9f;
    --pink: #ff1493;
    --purple: #bf00ff;
    --blue: #00d4ff;
}

/* Dark mode headings - pink gradient */
body:not(.light) h1, 
body:not(.light) h2, 
body:not(.light) h3 {
    background: linear-gradient(90deg, #ff1493, #ff69b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3 { color: var(--pink); }

/* Brand text = blue with pink glow, no gradient */
h1.brand-text, h2.brand-text, h3.brand-text { 
    color: var(--blue) !important;
    background: none !important;
    -webkit-text-fill-color: var(--blue) !important;
}

/* Light mode - terminal green with purple gradient */
body.light {
    background: linear-gradient(180deg, #e3f2fd, #bbdefb);
    --card: #f5f5f5;
    --border: #7b1fa2;
    --text: #4a148c;
    --muted: #7b1fa2;
    --green: #7b1fa2;
    --pink: #e91e63;
    --purple: #6a1b9a;
    --blue: #1565c0;
}

body.light h1, 
body.light h2, 
body.light h3 {
    background: linear-gradient(90deg, #9c27b0, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.light nav { background: #fff3e0; }

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

body {
    font-family: monospace;
    background: linear-gradient(180deg, var(--bg), #0a0a0f);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--pink); }

h1, h2, h3 { color: var(--text); }
h1.brand-text, h2.brand-text, h3.brand-text { color: var(--blue); }

.container { max-width: 1000px; margin: 0 auto; padding: 1rem; }

/* Nav */
nav { background: #1a0a15; border-bottom: 3px solid var(--blue); padding: 1rem 0; }
.nav-brand, .brand-text { 
    color: var(--blue); 
    font-weight: bold; 
    text-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink); }
    to { text-shadow: 0 0 20px var(--pink), 0 0 40px var(--pink), 0 0 60px var(--pink); }
}
.nav-links a { color: var(--muted); margin-left: 1rem; }
.nav-links a:hover { color: var(--pink); }

/* Avatar Circle */
.avatar-circle {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pink);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

body.light .avatar-circle {
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.4);
}

body.light #card-element,
body.light #card-element iframe {
    background: #fff3e0 !important;
}

.avatar-initials {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: bold;
    background: var(--card);
    border: 4px solid var(--pink);
}

.resume-preview {
    width: 100%;
    height: 600px;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-top: 1rem;
    background: var(--card);
}

.upload-progress {
    background: var(--card);
    padding: 0.75rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    border: 1px solid var(--border);
}

.upload-progress .progress-bar {
    background: var(--bg);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.upload-progress .progress-bar > div {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
    background: linear-gradient(90deg, var(--pink), var(--blue));
}

.upload-progress .status {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.logo-preview {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--card);
}

.company-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--blue);
}

#card-element {
    background: var(--card) !important;
    padding: 1rem;
    border-radius: 4px;
}

#card-element iframe {
    background: var(--card) !important;
}

.StripeElement {
    background: var(--card) !important;
    color: var(--text) !important;
}

.StripeElement input {
    color: var(--text) !important;
    background: transparent !important;
}

.StripeElement--invalid input {
    color: var(--pink) !important;
}

/* Card */
.card { background: var(--card); border: 1px solid var(--border); padding: 1.5rem; border-radius: 4px; }

/* Input */
input, select, textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem;
    font-family: inherit;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 4px;
}

body.light input,
body.light select,
body.light textarea {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

input:focus, select:focus { border-color: var(--green); outline: none; }

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--blue);
    color: #000;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    font-size: 0.85rem;
}

.btn-pink { background: var(--pink); color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--pink); 
    color: var(--pink);
    display: inline-block;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-weight: bold;
    font-size: 0.85rem;
}

body.light .btn {
    background: var(--pink);
    color: #fff;
}

body.light .btn-outline {
    background: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
}

body.light .btn-pink {
    background: var(--pink);
    color: #fff;
}
.btn-logout { 
    background: transparent; 
    border: 1px solid var(--blue); 
    color: var(--blue); 
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-family: inherit;
}
.btn-logout:hover { 
    background: var(--blue); 
    color: #000;
}

/* Alert */
.alert { padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.alert-success { background: rgba(0,255,159,0.1); border: 1px solid var(--green); color: var(--green); }
.alert-error { background: rgba(255,0,100,0.1); border: 1px solid var(--pink); color: var(--pink); }

/* Tag */
.tag { display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.75rem; border-radius: 4px; margin-right: 0.5rem; }
.tag-green { background: rgba(0,255,159,0.15); color: var(--green); border: 1px solid var(--green); }

/* Link btn */
.link-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    color: var(--muted);
}

/* Utils */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-pink { color: var(--pink); }
.text-blue { color: var(--blue); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 1rem; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Light mode card gradients */
body.light .card-dark { background: linear-gradient(135deg, #fce4ec, #f8bbd9); }
body.light .card-dark-2 { background: linear-gradient(180deg, #f3e5f5, #e1bee7); }
body.light .card-dark-3 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }

/* TestSeeker/TEST SEEKER section */
body.light .test-seeker { background: linear-gradient(135deg, #fce4ec, #f8bbd9); }

body.light .tag {
    background: rgba(233, 30, 99, 0.15);
    border-color: var(--pink);
    color: var(--pink);
}

body.light .tag-blue {
    background: rgba(21, 101, 192, 0.15);
    border-color: var(--blue);
    color: var(--blue);
}

body.light .tag-pink {
    background: rgba(233, 30, 99, 0.15);
    color: var(--pink);
}

body.light .tag-purple {
    background: rgba(106, 27, 154, 0.15);
    color: var(--purple);
}

body.light .tag-blue-light {
    background: rgba(21, 101, 192, 0.15);
    color: var(--blue);
}
#theme-toggle:hover { color: var(--purple); }

@media (max-width: 600px) {
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { margin-top: 1rem; }
}