body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: #1c1e21;
}

.logo-large {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.logo-small {
    width: 100px;
    height: auto;
    margin-right: 12px;
}

body:has(#login-view:not(.hidden)),
body:has(#register-view:not(.hidden)) {
    align-items: center;
}

#app-container {
    width: 100%;
    max-width: 800px; 
    padding: 20px;
}

.hidden {
    display: none !important;
}

.brand-logo {
    font-size: 32px;
    font-weight: 800;
    color: #6200ea;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
}

.brand-logo-small {
    font-size: 24px;
    font-weight: 800;
    color: #6200ea;
    margin: 0;
    letter-spacing: -0.5px;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.form-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #606770;
    margin-top: 0;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}


.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus {
    border-color: #6200ea;
    outline: none;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background-color: #6200ea;
    color: white;
}

.btn-primary:hover {
    background-color: #3700b3;
}

.btn-secondary {
    background-color: #e4e6eb;
    color: #050505;
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
}

.btn-secondary:hover {
    background-color: #d8dadf;
}


.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 10px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

#welcome-message {
    font-weight: 600;
    color: #333;
}


.input-row {
    display: flex;
    gap: 10px;
}

.btn-small {
    width: auto;
    white-space: nowrap;
}

ul#task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff;
}

.task-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.task-check {
    width: 20px;
    height: 20px;
    accent-color: #6200ea;
    cursor: pointer;
}

.task-title {
    font-size: 16px;
    font-weight: 500;
}

.task-title.completed {
    text-decoration: line-through;
    color: #999;
}

.delete-btn {
    background: none;
    border: none;
    color: #ff3b30;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}