/* General Alert Styling */
.alert-debug {
    color: black;
    background-color: white;
    border-color: #d6e9c6;
}

.alert-error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}

/* Hidden Sections */
.hidden-section {
    display: none;
}

/* Form Fields */
textarea {
    height: 80px;
    resize: vertical;
}

/* Ensure consistent width and spacing */
input, select, textarea {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Adjust form labels */
label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Space out form elements */
.mb-3 {
    margin-bottom: 1rem !important;
}

/* Add spacing between columns */
@media (min-width: 768px) {
    .row .col-md-6 {
        padding-right: 10px;
    }
}

/* Ensure original receipt text is well-formatted */
.original-receipt-text {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f8f9fa;
}

/* Reserved space to prevent layout shifting */
.reserved-space {
    margin-bottom: 1.5rem;
}

/* Standardized iframe styling */
.receipt-iframe {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
}

/* Ensure space is reserved for the screenshot */
.screenshot-container {
  width: 100%;
  text-align: center;
}

.screenshot-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Placeholder styling */
.screenshot-placeholder {
    font-size: 0.9rem;
    text-align: center;
}

/* Hide image initially */
.hidden-image {
    display: none;
}

/* Ensure visible images are properly styled */
.visible-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.text-center img {
    margin-top: 1rem;
}

/* Task Status Container */
.task-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 10px;
}

/* Ensure consistent spacing between elements */
.task-status-text {
    flex-grow: 1;
}

/* Show spinner when active */
.task-status .spinner-border {
    display: inline-block;
}

/* Hide the spinner initially */
.hidden-spinner {
    display: none;
}
