/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('subtle-noise.png');
}

.auth-container, .main-app {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* Auth Page Styles */
.auth-box {
    text-align: center;
}

.auth-box h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1a73e8;
}

.auth-form input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
}

.auth-form button {
    width: 100%;
    padding: 1rem;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form button:hover {
    background-color: #155ab6;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

#google-signin {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #444;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#google-signin:hover {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#google-signin img {
    height: 20px;
    width: 20px;
}


.auth-toggle a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}

.divider {
    margin: 2.5rem 0;
}

/* Home Page Styles */
.header-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

#logout-button {
    padding: 0.8rem 1.2rem;
    background-color: #ea4335;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#logout-button:hover {
    background-color: #d93025;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

.list-creation-container {
    display: flex;
    margin-bottom: 2.5rem;
}

#new-list-name {
    flex-grow: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

#create-list-button {
    padding: 1rem 1.5rem;
    background-color: #34a853;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#create-list-button:hover {
    background-color: #2c8a42;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.4);
}

/* Notes Section Styles */
.notes-section {
    margin-top: 2.5rem;
}

.note-creation-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

#new-note-title,
#new-note-content {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
}

#new-note-content {
    min-height: 120px;
    resize: vertical;
}

#create-note-button {
    padding: 1rem;
    background-color: #fbbc05;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#create-note-button:hover {
    background-color: #e3a800;
    box-shadow: 0 4px 12px rgba(251, 188, 5, 0.4);
}

.notes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
