/* General container styling */
.task-detail-container {
    margin-bottom: 20px;
}

/* Task status indicator */
.task-status {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.task-status.completed {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.task-status.pending {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.task-status i {
    margin-right: 5px;
}

/* Section styling */
.task-detail-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.task-detail-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}

/* Row styling */
.task-detail-row {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
}

.task-detail-label {
    font-weight: 600;
    color: #555;
    width: 140px;
    margin-right: 10px;
}

.task-detail-value {
    flex: 1;
    color: #333;
}

.task-detail-value strong {
    color: #000;
}

/* Address specific styling */
.task-detail-address {
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0 15px;
    border-left: 3px solid #3498db;
}

.address-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.address-label i {
    color: #3498db;
    margin-right: 5px;
}

.address-content {
    padding-left: 20px;
    line-height: 1.5;
}

.address-value,
.description-value {
    white-space: pre-line;
}

/* Modal customization */
.modal-header {
    background-color: #3498db;
    color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.modal-title {
    font-weight: 600;
}

.close {
    color: white;
    opacity: 0.8;
}

.close:hover {
    opacity: 1;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 15px;
}

.btn-punch {
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .task-detail-row {
        flex-direction: column;
    }

    .task-detail-label {
        width: 100%;
        margin-bottom: 5px;
    }

    .task-detail-value {
        width: 100%;
    }

    .address-content {
        padding-left: 10px;
    }
}