:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --accent-primary: #007bff;
    --accent-secondary: #fd7e14;
    --accent-error: #da3633;
    --accent-warning: #d29922;
    --border-light: rgba(240, 246, 252, 0.1);
    --border-medium: rgba(240, 246, 252, 0.2);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 12px rgba(0, 123, 255, 0.5);
    --glow-secondary: 0 0 12px rgba(253, 126, 20, 0.5);
    --glow-error: 0 0 12px rgba(218, 54, 51, 0.5);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow: auto;
    color: var(--text-primary);
    line-height: 1.5;
}

.container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    border-radius: var(--radius-large);
    margin: 0;
}

h1 {
    text-align: center;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 50px;
    font-size: 2.5em;
}

.section {
    margin-bottom: 40px;
}

.create-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.create-section input[type="text"] {
    width: 100%;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

h2 {
    color: var(--accent-secondary);
    border-bottom: 2px solid var(--accent-secondary);
    padding-bottom: 15px;
    font-weight: 400;
    margin-bottom: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-small);
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(37, 37, 37, 0.8) 100%);
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

input[type="text"]:focus {
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary), var(--shadow-medium), inset 0 1px 2px rgba(0, 0, 0, 0.2);
    outline: none;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
}

button {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 123, 255, 0.3) 100%) !important;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    padding: 12px 20px;
    border-radius: var(--radius-small);
    cursor: pointer;
    margin: 5px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(15px) saturate(1.1);
    position: relative;
    overflow: hidden;
}

button:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 123, 255, 0.3) 100%) !important;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}



button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary), var(--shadow-medium);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.3) 0%, rgba(0, 212, 170, 0.2) 100%);
}

.project-list {
    list-style-type: none;
    padding: 0;
}

.project-list li {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(37, 37, 37, 0.8) 100%);
    border: 1px solid var(--border-light);
    margin: 15px 0;
    padding: 20px;
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-list li:hover {
    background: linear-gradient(135deg, rgba(37, 37, 37, 0.9) 0%, rgba(42, 42, 42, 0.9) 100%);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary), var(--shadow-medium);
    transform: translateY(-2px);
}

.project-list li button {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(0, 123, 255, 0.3) 100%);
    border: 1px solid var(--border-medium);
    width: auto;
    margin-right: 10px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(15px) saturate(1.1);
}

.project-list li button:last-child {
    margin-right: 0;
}

.project-list li button:hover {
    box-shadow: var(--glow-primary), var(--shadow-medium);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.5) 0%, rgba(0, 123, 255, 0.4) 100%);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-medium);
    padding: 25px;
    box-shadow: var(--shadow-heavy), var(--glow-error);
    text-align: center;
    color: var(--text-primary);
    max-width: 320px;
    width: 90%;
}

.modal-content h3 {
    color: var(--accent-error);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-content button {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-small);
    cursor: pointer;
    margin: 5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-light);
    font-weight: 500;
}

.modal-content button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary), var(--shadow-medium);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(0, 123, 255, 0.2) 100%);
}

#confirmDelete {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2) 0%, rgba(255, 71, 87, 0.1) 100%);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: var(--glow-error);
}

#confirmDelete:hover {
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.6), var(--shadow-medium);
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3) 0%, rgba(255, 71, 87, 0.2) 100%);
}