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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

header {
    background: #000000;
    color: white;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 100%);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    position: relative;
    font-weight: 800;
    letter-spacing: -1px;
}

header p {
    opacity: 0.7;
    font-size: 1.1em;
    position: relative;
    font-weight: 300;
}

.tabs {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #888;
    position: relative;
}

.tab-btn.active {
    background: white;
    color: #000000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #000000;
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #000000;
}

.tab-content {
    display: none;
}

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

.two-column-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    padding: 30px;
    min-height: 500px;
}

.left-column {
    display: flex;
    flex-direction: column;
}

.right-column {
    display: flex;
    flex-direction: column;
}

.add-section {
    background: #fafafa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e8e8e8;
    height: fit-content;
}

.add-section h2 {
    color: #000000;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

form {
    display: grid;
    gap: 15px;
}

.radio-group {
    display: flex;
    gap: 10px;
}

.radio-label {
    flex: 1;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-btn {
    display: block;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    background: white;
}

.radio-label input[type="radio"]:checked + .radio-btn {
    background: #000000;
    color: white;
    border-color: #000000;
}

.radio-label:hover .radio-btn {
    border-color: #000000;
}

input, select, textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background: #000000;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

button[type="submit"]:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.list-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-section h2 {
    color: #000000;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.item-list {
    display: grid;
    gap: 15px;
    overflow-y: auto;
    max-height: 600px;
    padding-right: 10px;
}

.item-list::-webkit-scrollbar {
    width: 8px;
}

.item-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.item-list::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 10px;
}

.item-list::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.item-card {
    background: #fafafa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.item-card:hover {
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: white;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.item-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #000000;
    flex: 1;
    letter-spacing: -0.5px;
}

.item-rating {
    font-size: 1.1em;
    margin-left: 15px;
}

.item-info {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
    flex-wrap: wrap;
}

.item-date, .item-status {
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-complete {
    background: #000000;
    color: #ffffff;
}

.status-doing {
    background: #e0e0e0;
    color: #000000;
}

.item-review {
    color: #666;
    font-style: italic;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.delete-btn {
    background: transparent;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.delete-btn:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 40px;
    font-size: 1.1em;
    font-weight: 300;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    .tab-btn {
        font-size: 1em;
        padding: 15px;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .add-section {
        padding: 20px;
    }
}
