:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-bright: #ffffff;
    --text-glow: 0 0 10px rgba(255, 255, 255, 0.2);
    --accent: #333333;
    --accent-hover: #444444;
    --gradient: linear-gradient(135deg, #333333, #1a1a1a);
    --icon-color: #ffffff;
    --icon-glow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'Segoe UI', sans-serif;
    background: url('https://wallpapercave.com/wp/wp11246494.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    display: flex;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: none;
}

.sidebar {
    width: 250px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: none;
    padding: 20px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    border-right: 1px solid rgba(51, 51, 51, 0.3);
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

header {
    margin-bottom: 30px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: var(--accent);
}

h1, h2, h3 {
    color: var(--text-highlight);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 5px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    padding: 15px;
    width: 100%;
}

.nav-btn:hover {
    background: var(--accent);
}

.nav-btn.active {
    background: var(--accent);
}

.tab-content {
    display: none;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: none;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(224, 86, 253, 0.3);
}

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

input, textarea, button {
    background: var(--bg-primary);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 5px;
}

input, textarea {
    color: var(--text-bright);
}

button {
    color: var(--text-highlight);
    font-weight: 500;
    background: var(--gradient);
    border: none;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.add-task {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#taskInput {
    flex: 1;
}

#taskList {
    list-style: none;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(10, 10, 10, 0.95);
    margin-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.task-item span, 
.schedule-content,
#notesArea,
.pdf-item p {
    color: var(--text-bright);
}

.task-item:hover {
    border-left: 3px solid var(--accent);
}

.notes-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#textNotes {
    width: 100%;
}

#notesArea {
    width: 100%;
    min-height: 400px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    background: rgba(10, 10, 10, 0.95);
}

#pdfNotes {
    width: 100%;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.schedule-item:hover {
    transform: scale(1.02);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-direction: column;
    text-align: center;
}

.logo-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--icon-color);
    animation: pulse 2s infinite;
    text-shadow: var(--icon-glow);
    -webkit-text-fill-color: var(--icon-color);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.nav-btn i, 
h2 i,
.pdf-item i,
.upload-label i {
    color: var(--icon-color);
    text-shadow: var(--icon-glow);
}

.radio-icon {
    color: var(--icon-bright);
    text-shadow: var(--icon-glow);
}

.radio-input:checked + .radio-tile .radio-icon {
    color: var(--icon-bright);
    text-shadow: var(--icon-glow);
}

.radio-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 80px;
    border-radius: 0.5rem;
    border: 2px solid var(--bg-secondary);
    background-color: var(--bg-primary);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
}

.radio-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid var(--bg-secondary);
    background-color: var(--bg-primary);
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
}

.radio-tile:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.radio-tile:hover:before {
    transform: scale(1);
    opacity: 1;
}

.radio-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: 0.375s ease;
}

.radio-label {
    color: var(--text-bright);
    transition: 0.375s ease;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.radio-input:checked + .radio-tile {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.radio-input:checked + .radio-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: var(--accent);
    border-color: var(--accent);
}

.radio-input:checked + .radio-tile .radio-icon {
    color: var(--accent);
}

.radio-input:checked + .radio-tile .radio-label {
    color: var(--accent);
}

.radio-input:focus + .radio-tile {
    border-color: var(--accent);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(108, 92, 231, 0.2);
}

/* Notes and PDF Styles */
.notes-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: 5px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--accent);
}

.tab-btn.active {
    background: var(--accent);
}

.notes-content {
    display: none;
}

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

.pdf-upload {
    margin-bottom: 20px;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: var(--bg-primary);
    border: 2px dashed var(--accent);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-label:hover {
    background: var(--bg-secondary);
}

.upload-label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.upload-label i {
    color: var(--icon-color) !important;
    text-shadow: var(--icon-glow);
}

.upload-label input {
    display: none;
}

.pdf-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.pdf-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    padding: 20px;
}

.pdf-item i {
    font-size: 2rem;
    color: var(--accent);
}

.pdf-item i {
    color: var(--icon-color) !important;
    text-shadow: var(--icon-glow);
}

.pdf-item small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.delete-pdf {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    color: var(--text-secondary);
    padding: 5px;
    border: none;
}

.delete-pdf:hover {
    color: #ff4444;
}

#pdfFrame {
    width: 100%;
    height: calc(100vh - 50px);
    background: var(--bg-primary);
    transform-origin: top center;
    transition: transform 0.3s ease;
}

.pdf-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.pdf-viewer.active {
    display: block;
}

.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: var(--bg-secondary);
}

.zoom-controls {
    display: flex;
    gap: 10px;
}

.schedule-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.date-picker {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--accent);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 16px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-date {
    font-size: 1.2rem;
    color: var(--text-highlight);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent);
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(26, 26, 26, 0.95);
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
}

.schedule-time {
    min-width: 100px;
    color: var(--accent);
    font-weight: bold;
}

.schedule-content {
    flex: 1;
    padding: 10px;
    border-radius: 3px;
    min-height: 24px;
}

.schedule-content:focus {
    background: var(--bg-primary);
    outline: 1px solid var(--accent);
}

.delete-schedule {
    background: transparent;
    color: var(--text-secondary);
    padding: 5px;
    border: none;
}

.delete-schedule:hover {
    color: #ff4444;
}

.music-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.music-player {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.now-playing {
    margin-bottom: 15px;
    color: var(--text-bright);
    font-size: 1.1em;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}

.playlist-container {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 10px;
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-bright);
}

.track-item:hover {
    background: var(--bg-secondary);
}

.track-item.playing {
    background: var(--accent);
}

.delete-track {
    background: transparent;
    color: var(--text-secondary);
    padding: 5px;
    margin-left: auto;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.track-item:hover .delete-track {
    opacity: 1;
}

.delete-track:hover {
    color: #ff4444;
    background: transparent;
    transform: none;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-highlight);
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.fa-cloud-upload-alt {
    color: var(--icon-color) !important;
    text-shadow: var(--icon-glow);
}

.fa-file-pdf {
    color: var(--icon-color) !important;
    text-shadow: var(--icon-glow);
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .container {
        flex-direction: column;
    }

    .main-content {
        margin-left: 0;
    }

    .logo-container h1 {
        font-size: 1.5em;
    }

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

    .viewer-toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .notes-container {
        max-width: 100%;
        padding: 10px;
    }
}
