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

body {
    font-family: Arial, sans-serif;
    background-color: #fdf2f8;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(227, 8, 126, 0.1);
}

h1 {
    text-align: center;
    color: #e3087e;
    margin-bottom: 20px;
}

.scanner-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #fbcfe8;
    border-radius: 4px;
    font-size: 16px;
}

input[type="text"]:focus {
    border-color: #e3087e;
    outline: none;
}

button {
    padding: 10px 20px;
    background-color: #e3087e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #c1076a;
}

.product-list {
    margin-top: 20px;
}

h2 {
    color: #e3087e;
    margin-bottom: 10px;
}

ul {
    list-style: none;
}

li {
    padding: 15px;
    border-bottom: 1px solid #fbcfe8;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #e3087e;
}

.product-barcode, .product-price, .product-place, .product-row, .product-time {
    color: #666;
    font-size: 0.9em;
}

.remove-btn {
    background-color: #e3087e;
    padding: 5px 10px;
    font-size: 0.9em;
}

.remove-btn:hover {
    background-color: #c1076a;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.save-btn, .view-lists-btn {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    background-color: #e3087e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.view-lists-btn {
    background-color: #e3087e;
}

.save-btn:hover, .view-lists-btn:hover {
    background-color: #c1076a;
}

#reader {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #fbcfe8;
    border-radius: 4px;
    overflow: hidden;
}

#reader video {
    width: 100% !important;
    height: auto !important;
}

.logout-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    background-color: #e3087e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
}

.logout-btn:hover {
    background-color: #c1076a;
}

.admin-link-container {
    text-align: center;
    margin-top: 15px;
}

.admin-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #e3087e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-link:hover {
    background-color: #c1076a;
} 