/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Headers */
h2, h3 {
    color: #34558B; /* Brand blue */
    margin-bottom: 20px;
}

/* Requester Selector */
.requester-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #444;
    font-size: 14px;
    cursor: pointer;
    width: 150px;
}

/* Form Styles */
form {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

form.hidden {
    display: none;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    grid-column: span 2;
    padding: 10px;
    background-color: #34558B; /* Brand blue */
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #2a4373; /* Slightly darker shade of blue */
}

#backButton {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #666;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #444;
    font-size: 14px;
    cursor: pointer;
}

#backButton.hidden {
    display: none;
}

/* Entry Container */
.entry-container {
    background-color: #3a3a3a;
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Entry Header */
.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Status Badge Colors */
.status-badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.status-ready {
    background-color: #a0a0a0;
    color: #ffffff;
}

.status-processing {
    background-color: #34558B; /* Brand blue */
    color: #ffffff;
}

.status-done {
    background-color: #4caf50;
    color: #ffffff;
}

/* Detail Sections Layout */
.details-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.details-section {
    flex: 1 1 45%;
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    min-width: 200px;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* Detail Text */
.detail-heading {
    font-size: 16px;
    font-weight: bold;
    color: #668bb2; /* Lighter shade of blue */
    margin-bottom: 5px;
}

.detail-text {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    overflow-wrap: anywhere;
}

.detail-text a {
    color: #82cfff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .details-grid {
        flex-direction: column;
    }
    form {
        grid-template-columns: 1fr;
    }
    .color-details {
        flex-direction: column;
        align-items: center;
    }
}

/* DateTime styling */
.entry-datetime {
    font-size: 14px;
    color: #bbbbbb;
    margin-left: auto;
    margin-right: 10px;
}

/* Toast Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

.toast.hidden {
    display: none;
}

.toast.show {
    display: block;
    opacity: 1;
}

/* Brand Details Styles */
#brandDetails {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#brandDetails.hidden {
    display: none;
}

#brandDetails label {
    font-weight: bold;
    margin-bottom: 5px;
}

#brandDetails img {
    max-width: 400px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
}

#brandDetails p {
    padding: 10px;
    background-color: #333;
    color: #ffffff;
    border-radius: 4px;
    border: 1px solid #444;
    box-sizing: border-box;
    word-wrap: break-word;
}

input.color-input {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 10px;
}

.color-details {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    gap: 40px;
    align-items: flex-start;
}

.color-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-preview {
    width: 75px;
    height: 75px;
    border-radius: 4px;
    border: 1px solid #444;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

#imageUrl {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 10px;
}