* {
    box-sizing: border-box;
}

html {
    height: 100%; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-direction: column;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f1f5f9;
    color: #1e293b;
    overscroll-behavior: none;
}

button {
    text-decoration: none;
    display: block;
    border: none;
}

a {
    text-decoration: none;
    display: block;
    color: white;
}

.main-container {
    flex: 1;
}

.content {
    margin: 0 auto;
    max-width: 910px;
    padding: 0rem 1rem;
    margin-top: 1.5rem;
}

.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.create-btn {
    background-color: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.create-btn:hover {
    background-color: #059669;
    cursor: pointer;
}

.scroll-area {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.modal-btn {
    margin-top: 0.5rem;
    text-align: right;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body input {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}

.modal-footer button {
    padding: 0.5rem 1rem;
    background-color: #10b981;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-footer button:hover {
    background-color: #059669;
}
