:root {
    --blush-pink: #ffc0cb;
    --rose-quartz: #f7a8b8;
    --soft-lilac: #e6d6f5;
    --cream-white: #fff8f0;
    --warm-mauve: #d29ab9;
    --deep-raspberry: #851027;
    --dusty-rose: #e8a2b8;
    --silver-gray: #dadada;
    --soft-black: #2c2c2c;
    --pale-pink: #ffe4e9;
    --light-rose: #ffd1dc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--cream-white);
    color: var(--soft-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Authentication Styles */

.title {
    font-size: 3.5rem;
    background: var(--deep-raspberry);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-container {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
}


.auth-form {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

.auth-info {
    flex: 1;
    background: linear-gradient(135deg,
    #ffdde1 0%,  /* soft pink */
    #ee9ca7 50%, /* rose */
    #ffd1ff 100% /* soft lilac */
    );
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.auth-info p {
    margin-bottom: 0.5rem; 
    font-size: 1.5rem;
    font-weight: 600;
}

.auth-info p span {
    color: var(--deep-raspberry);
    text-shadow: 
        0px 0px 6px var(--rose-quartz),
        0px 0px 12px var(--dusty-rose);

}

.auth-info li {
    margin-bottom: 1.5rem; 
    display: flex; 
    align-items: center;
    font-size: 1.3rem;
    font-weight: 400;
}

.auth-info ul {
    margin-top: 1.5rem;
}

.auth-info ul li i {
    color: white;
    background: var(--deep-raspberry);
    border-radius: 50%;
    padding: 6px;
    margin-right: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    min-width: 100%;
}


.setup-section {
    display: block;
}


label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-raspberry);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--dusty-rose);
    border-radius: 12px;
    font-size: 1rem;
    background-color: var(--pale-pink);
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--deep-raspberry);
    box-shadow: 0 0 0 3px rgba(133, 16, 39, 0.1);
}

button {
    background-color: var(--deep-raspberry);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(133, 16, 39, 0.2);
}

button:hover {
    background-color: var(--warm-mauve);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(133, 16, 39, 0.3);
}

.btn-secondary {
    background-color: var(--warm-mauve);
}

.btn-secondary:hover {
    background-color: var(--dusty-rose);
}

.tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-rose);
}

.tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--soft-black);
}

.tab.active {
    border-bottom: 3px solid var(--deep-raspberry);
    color: var(--deep-raspberry);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Dashboard Styles */
.dashboard {
    display: none;
    width: 100%;
}

.sidebar {
    width: 250px;
    background: linear-gradient(
        to bottom,
        var(--blush-pink),
        var(--soft-lilac)
    );
    padding: 1.5rem;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
    background-color: var(--cream-white);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-raspberry);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    justify-content: center;
}

.logo i {
    margin-right: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--soft-black);
    font-weight: 500;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.nav-item.active {
    background-color: white;
    color: var(--deep-raspberry);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.card {
    background-color: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-rose);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        var(--rose-quartz),
        var(--soft-lilac)
    );
}

.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
flex-wrap: wrap;
gap: 1rem;
}

.card-title {
font-size: 1.25rem;
font-weight: 600;
color: var(--deep-raspberry);
}

.content-section {
display: none;
}

.content-section.active {
display: block;
}

.schedule-day {
margin-bottom: 1.5rem;
}

.day-header {
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--warm-mauve);
display: flex;
align-items: center;
}

.day-header i {
margin-right: 0.5rem;
}

.schedule-item {
display: flex;
align-items: center;
padding: 0.75rem;
background-color: var(--pale-pink);
border-radius: 12px;
margin-bottom: 0.5rem;
border-left: 4px solid var(--rose-quartz);
}

.schedule-time {
font-weight: 600;
margin-right: 1rem;
min-width: 100px;
color: var(--deep-raspberry);
}

.mission-item {
display: flex;
align-items: center;
padding: 1rem;
background-color: var(--pale-pink);
border-radius: 12px;
margin-bottom: 1rem;
border-left: 4px solid var(--deep-raspberry);
transition: all 0.3s ease;
}

.mission-item:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-checkbox {
margin-right: 1rem;
}

.mission-checkbox input {
width: 20px;
height: 20px;
accent-color: var(--deep-raspberry);
}

.mission-details {
flex: 1;
}

.mission-title {
font-weight: 600;
margin-bottom: 0.25rem;
}

.mission-meta {
display: flex;
font-size: 0.875rem;
color: var(--soft-black);
flex-wrap: wrap;
gap: 1rem;
}

.mission-meta span {
display: flex;
align-items: center;
gap: 0.25rem;
}

.difficulty-easy {
color: #4caf50;
}

.difficulty-moderate {
color: #ff9800;
}

.difficulty-hard {
color: #f44336;
}

.folder-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}

.folder-item {
    background: linear-gradient(
        135deg,
        var(--soft-lilac),
        var(--pale-pink)
    );
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--light-rose);
}

.folder-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.folder-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--deep-raspberry);
}

/* Setup Wizard Styles */
.setup-wizard {
display: none;
width: 100%;
padding: 2rem;
max-width: 1000px;
margin: 0 auto;
}

.wizard-step {
display: none;
}

.wizard-step.active {
display: block;
animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
from {
    opacity: 0;
    transform: translateY(10px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.wizard-header {
text-align: center;
margin-bottom: 2rem;
position: relative;
}

.wizard-title {
font-size: 1.75rem;
color: var(--deep-raspberry);
margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}

.wizard-description {
color: var(--soft-black);
max-width: 600px;
margin-bottom: 1.2rem;
}

.schedule-description {
color: var(--soft-black);
max-width: 800px;
font-size: 1.2rem;
margin: 0 auto 1.2rem auto;
text-align: center;
}

.wizard-nav {
display: flex;
justify-content: space-between;
margin-top: 2rem;
}

.class-entry {
display: grid;
grid-template-columns: 2fr 1fr 1.5fr 1fr auto;
gap: 1rem;
margin-bottom: 1rem;
align-items: end;
}

.priority-tag {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
border-radius: 50px;
font-size: 0.875rem;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
gap: 0.25rem;
}

.priority-high {
background-color: #ffebee;
color: var(--deep-raspberry);
}

.priority-medium {
background-color: #fff3e0;
color: #ff9800;
}

.priority-low {
background-color: #e8f5e9;
color: #4caf50;
}

.intensity-slider {
width: 100%;
margin: 1rem 0;
appearance: none;
-webkit-appearance: none;
height: 8px;
border-radius: 4px;
background: var(--light-rose);
outline: none;
}

.intensity-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: var(--deep-raspberry);
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-labels {
display: flex;
justify-content: space-between;
margin-top: 0.5rem;
font-size: 0.875rem;
color: var(--soft-black);
}

/* AI Indicator */
.ai-indicator {
display: inline-flex;
align-items: center;
background-color: var(--soft-lilac);
padding: 0.25rem 0.75rem;
border-radius: 50px;
font-size: 0.875rem;
margin-left: 0.5rem;
gap: 0.25rem;
}

/* Combined Setup Step */
.combined-setup {
display: flex;
flex-direction: column;
gap: 2rem;
}

.setup-section {
background-color: white;
border-radius: 16px;
padding: 1.5rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
border: 1px solid var(--light-rose);
}

.setup-section-title {
font-size: 1.25rem;
color: var(--deep-raspberry);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
}

.modal-content {
background-color: var(--cream-white);
margin: 5% auto;
padding: 2rem;
border: 1px solid var(--light-rose);
border-radius: 16px;
width: 90%;
max-width: 600px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
animation: slideDown 0.3s ease;
}

@keyframes slideDown {
from {
    opacity: 0;
    transform: translateY(-50px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}

.modal-title {
font-size: 1.5rem;
color: var(--deep-raspberry);
font-weight: 600;
}

.close {
color: var(--soft-black);
font-size: 2rem;
font-weight: bold;
cursor: pointer;
transition: color 0.3s ease;
}

.close:hover {
color: var(--deep-raspberry);
}

.file-upload-area {
border: 2px dashed var(--dusty-rose);
border-radius: 12px;
padding: 2rem;
text-align: center;
background-color: var(--pale-pink);
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 1.5rem;
}

.file-upload-area:hover {
border-color: var(--deep-raspberry);
background-color: var(--light-rose);
}

.file-upload-area.dragover {
border-color: var(--deep-raspberry);
background-color: var(--light-rose);
transform: scale(1.02);
}

.file-list {
margin-top: 1rem;
}

.file-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem;
background-color: white;
border-radius: 8px;
margin-bottom: 0.5rem;
border: 1px solid var(--light-rose);
}

.file-info {
display: flex;
align-items: center;
gap: 0.5rem;
flex: 1;
overflow: hidden;
}

.file-info span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.delete-file {
background-color: transparent;
color: var(--deep-raspberry);
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
box-shadow: none;
flex-shrink: 0;
}

.delete-file:hover {
background-color: var(--deep-raspberry);
color: white;
}

/* Remove Button Styles */
.remove-btn {
background-color: transparent;
color: var(--deep-raspberry);
padding: 0.5rem;
font-size: 0.875rem;
box-shadow: none;
}

.remove-btn:hover {
background-color: var(--pale-pink);
transform: none;
}

/* Coquette decorative elements */
.bow {
position: absolute;
width: 40px;
height: 40px;
background-color: var(--deep-raspberry);
border-radius: 50% 50% 0 50%;
transform: rotate(45deg);
opacity: 0.7;
}

.bow::before,
.bow::after {
content: "";
position: absolute;
width: 30px;
height: 30px;
background-color: var(--deep-raspberry);
border-radius: 50%;
}

.bow::before {
top: -15px;
left: 5px;
}

.bow::after {
top: 5px;
left: -15px;
}

.bow-1 {
top: 20px;
right: 20px;
}

.bow-2 {
bottom: 20px;
left: 20px;
transform: rotate(-135deg);
}

.heart {
color: var(--cream-white);
margin: 0 0.25rem;
font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
.combined-setup {
    grid-template-columns: 1fr;
}

.auth-container {
    flex-direction: column;
}

}

@media (max-width: 768px) {
.sidebar {
    width: 70px;
}

.sidebar .nav-text {
    display: none;
}

.logo span {
    display: none;
}

.main-content {
    margin-left: 70px;
    padding: 1rem;
}

.nav-item {
    justify-content: center;
    padding: 0.75rem 0.5rem;
}

.nav-item i {
    margin-right: 0;
}

.class-entry {
    grid-template-columns: 1fr;
}

.folder-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.card {
    padding: 1rem;
}

.mission-meta {
    flex-direction: column;
    gap: 0.5rem;
}

.modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 1.5rem;
}

.wizard-nav {
    flex-direction: column;
    gap: 1rem;
}

.auth-form {
    padding: 2rem 1.5rem;
}
}

@media (max-width: 480px) {
body {
    font-size: 14px;
}

.card-title {
    font-size: 1rem;
}

.mission-title {
    font-size: 0.9rem;
}

.schedule-item {
    flex-direction: column;
    align-items: flex-start;
}

.schedule-time {
    margin-bottom: 0.5rem;
}

.folder-grid {
    grid-template-columns: 1fr;
}
}