/* 1. Global Layout & Background */
body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #ffffff; 
    color: #333;
    margin: 0;
    padding: 20px;
    padding-top: 80px; /* Space for fixed navbar */
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    background-color: #fcfcfc;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    box-sizing: border-box;
}

h1 {
    text-align: center;
    color: #000;
    margin-bottom: 20px;
}

/* 2. Side-by-Side Flex Layout */
.main-content {
    display: flex;
    gap: 30px; 
    align-items: flex-start;
}

.input-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

#boxContainer {
    flex: 2;
    position: relative;
    height: 400px;
    background-color: #A67C52;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 2px solid #8B4513;
    display: flex;
    box-sizing: border-box;
    background-image: url('arrow.png');
    background-repeat: no-repeat, no-repeat;
    background-position: top right, bottom right;
}

/* 3. Global Button Style (The Blue One) */
button, 
.input-fields button, 
#getBoxDetailsBtn, 
#donePSN {
    background-color: #00bcd4;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

button:hover, 
.input-fields button:hover {
    background-color: #008ba3;
}

/* Ensure the "Done" button aligns with the height of the select input */
#donePSN {
    height: 38px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Input & Textarea Styles */
.input-fields input, 
.input-fields textarea {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #eee; 
    color: #000;
    border: 1px solid #ccc;
    font-family: inherit;
}

/* 5. Details & Images inside the box */
#boxDetails {
    font-size: 16px;
    color: #000;
}

#labelImage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-left: 5rem;
    max-width: 100%;
    overflow-x: auto;
}

#labelImage img {
    width: 120px;
    margin: 5px;
}

/* 6. Arrow Positioning */
.arrow-original {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    z-index: 1;
}

.arrow-overlap {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 60px;
    z-index: 2;
    opacity: 0.9;
}

/* 7. Navigation Bar Styles */
.navbar {
    background-color: #00bcd4;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* 8. Utility Classes */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
